Skip to content

Commit

Permalink
moved version number to __init__.py and bumped up the version
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuen committed Jun 28, 2019
1 parent b122b0e commit 9942a5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ic3_labels/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""Contains the package version number
"""

__version__ = '0.1.0'
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env python

from distutils.core import setup
exec(compile(open('version.py', "rb").read(),
'version.py',

# get version number
exec(compile(open('ic3_labels/__init__.py', "rb").read(),
'ic3_labels/__init__.py',
'exec'))

setup(name='ic3_labels',
Expand Down
4 changes: 0 additions & 4 deletions version.py

This file was deleted.

0 comments on commit 9942a5e

Please sign in to comment.