Skip to content

Commit 6bcb209

Browse files
authored
Merge pull request #71 from adafruit/add-versionstr
adding fix for pypi
2 parents 0350cc8 + ab3b978 commit 6bcb209

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Adafruit_IO/_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "2.0.15"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
from os import path
1414
import re
1515

16-
17-
# Get the version string from _version.py
1816
verstrline = open('Adafruit_IO/_version.py', "rt").read()
1917
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
2018
mo = re.search(VSRE, verstrline, re.M)
@@ -24,6 +22,7 @@
2422
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
2523
print('version: ', verstr)
2624

25+
2726
# Get the long description from the README file
2827
here = path.abspath(path.dirname(__file__))
2928
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:

0 commit comments

Comments
 (0)