Skip to content

Commit

Permalink
Merge branch 'master' into public_master
Browse files Browse the repository at this point in the history
- set correct version number
- add __version__ information
  • Loading branch information
franzlst committed Apr 10, 2017
2 parents 6384f66 + 7de4731 commit 9a188f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name='jsonconversion',
version='0.2.2',
version='0.2.3',
url='https://github.com/DLR-RM/python-jsonconversion',
download_url='https://github.com/DLR-RM/python-jsonconversion/archive/0.2.2.tar.gz',
license='BSD',
Expand Down
7 changes: 7 additions & 0 deletions src/jsonconversion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@
# Contributors:
# Franz Steinmetz <[email protected]>

from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution("jsonconversion").version
except DistributionNotFound:
__version__ = "unknown"

0 comments on commit 9a188f0

Please sign in to comment.