adding fix for pypi

This commit is contained in:
brentru 2018-08-24 13:31:03 -04:00
parent 0350cc8211
commit 6af24a1b9a
2 changed files with 2 additions and 2 deletions

1
Adafruit_IO/_version.py Normal file
View file

@ -0,0 +1 @@
__version__ = "2.0.14"

View file

@ -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: