Skip to content

Commit

Permalink
fixed up problem with generate whl learnbot_components
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarbech committed Nov 6, 2018
1 parent 6859fb2 commit 9ec3747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion learnbot_components/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import os
pathInterfaces = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'interfaces')
__version__ = "0.0.3"
__version__ = '0.0.3'
5 changes: 2 additions & 3 deletions learnbot_components_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def readVersion(fname):
if '__version__' in l:
return l.split("=")[-1].replace("'","").replace(" ","")
setup(name="learnbot_components",
version=read('version'),
version=readVersion(os.path.join(os.path.dirname(__file__),"learnbot_components","__init__.py")),
description="learnbot_components contains some components to install in learnbot robot.",
author="Ivan Barbecho",
author_email="[email protected]",
Expand Down Expand Up @@ -42,8 +42,7 @@ def readVersion(fname):
'paho_mqtt==1.4.0',
'picamera==1.13',
'wiringpi==2.46.0',
'wiringpi2==2.32.3'
],
'wiringpi2'],
)
if os.path.exists("build.learnbot_components"):
shutil.rmtree("build.learnbot_components")
Expand Down

0 comments on commit 9ec3747

Please sign in to comment.