diff --git a/pymummer/__init__.py b/pymummer/__init__.py index fe82375..dd7bf26 100644 --- a/pymummer/__init__.py +++ b/pymummer/__init__.py @@ -1,3 +1,11 @@ +from pkg_resources import get_distribution + +try: + __version__ = get_distribution('pymummer').version +except: + __version__ = 'local' + + __all__ = [ 'alignment', 'coords_file', diff --git a/setup.py b/setup.py index 150d9c4..8a4e483 100644 --- a/setup.py +++ b/setup.py @@ -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',