Skip to content

Commit

Permalink
Merge pull request #71 from adafruit/add-versionstr
Browse files Browse the repository at this point in the history
adding fix for pypi
  • Loading branch information
brentru authored Aug 24, 2018
2 parents 0350cc8 + ab3b978 commit 6bcb209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Adafruit_IO/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "2.0.15"
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
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)
Expand All @@ -24,6 +22,7 @@
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:
Expand Down

0 comments on commit 6bcb209

Please sign in to comment.