adding fix for pypi
This commit is contained in:
parent
0350cc8211
commit
6af24a1b9a
2 changed files with 2 additions and 2 deletions
1
Adafruit_IO/_version.py
Normal file
1
Adafruit_IO/_version.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
__version__ = "2.0.14"
|
||||
3
setup.py
3
setup.py
|
|
@ -13,8 +13,6 @@ from codecs import open
|
|||
from os import path
|
||||
import re
|
||||
|
||||
|
||||
# Get the version string from _version.py
|
||||
verstrline = open('Adafruit_IO/_version.py', "rt").read()
|
||||
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
|
||||
mo = re.search(VSRE, verstrline, re.M)
|
||||
|
|
@ -24,6 +22,7 @@ else:
|
|||
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
|
||||
print('version: ', verstr)
|
||||
|
||||
|
||||
# Get the long description from the README file
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||
|
|
|
|||
Loading…
Reference in a new issue