Skip to content

Commit

Permalink
Update setup.py to get version from version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dourvaris committed Jan 13, 2018
1 parent d36e90d commit e58c6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open(os.path.join(here, NAME, '__init__.py'), 'rb') as f:
with open(os.path.join(here, NAME, 'version.py'), 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))

Expand Down

0 comments on commit e58c6cd

Please sign in to comment.