Skip to content

Commit

Permalink
Merge pull request #20 from martinghunt/make__version__work
Browse files Browse the repository at this point in the history
Make  __version__  work
  • Loading branch information
martinghunt committed Apr 18, 2016
2 parents 8c02053 + 120f816 commit de888d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pymummer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
from pkg_resources import get_distribution

try:
__version__ = get_distribution('pymummer').version
except:
__version__ = 'local'


__all__ = [
'alignment',
'coords_file',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='pymummer',
version='0.7.0',
version='0.7.1',
description='Wrapper for MUMmer',
packages = find_packages(),
author='Martin Hunt, Nishadi De Silva',
Expand Down

0 comments on commit de888d6

Please sign in to comment.