WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9ec3747

Browse files
committed
fixed up problem with generate whl learnbot_components
1 parent 6859fb2 commit 9ec3747

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

learnbot_components/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import os
22
pathInterfaces = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'interfaces')
3-
__version__ = "0.0.3"
3+
__version__ = '0.0.3'

learnbot_components_setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def readVersion(fname):
99
if '__version__' in l:
1010
return l.split("=")[-1].replace("'","").replace(" ","")
1111
setup(name="learnbot_components",
12-
version=read('version'),
12+
version=readVersion(os.path.join(os.path.dirname(__file__),"learnbot_components","__init__.py")),
1313
description="learnbot_components contains some components to install in learnbot robot.",
1414
author="Ivan Barbecho",
1515
author_email="[email protected]",
@@ -42,8 +42,7 @@ def readVersion(fname):
4242
'paho_mqtt==1.4.0',
4343
'picamera==1.13',
4444
'wiringpi==2.46.0',
45-
'wiringpi2==2.32.3'
46-
],
45+
'wiringpi2'],
4746
)
4847
if os.path.exists("build.learnbot_components"):
4948
shutil.rmtree("build.learnbot_components")

0 commit comments

Comments
 (0)