diff --git a/setup.py b/setup.py index e5811cb1cbafe535e24eac8e8d3afe84de5723c8..8e5c6b8ab29474a4961ae09d6121337f478a66c3 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,8 @@ from distutils.core import setup import subprocess from os import path +version = '0.1.4' + # Write a version file containing the git hash and info try: git_log = subprocess.check_output( @@ -20,7 +22,7 @@ except subprocess.CalledProcessError: version_file = '.version' with open('tupak/' + version_file, 'w+') as f: - f.write(status) + f.write('{} - {}'.format(version, status)) here = path.abspath(path.dirname(__file__)) @@ -34,7 +36,7 @@ setup(name='tupak', author='Greg Ashton, Moritz Hubner, Paul Lasky, Colm Talbot', author_email='paul.lasky@monash.edu', license="MIT", - version='0.1.3', + version=version, packages=['tupak', 'tupak.core', 'tupak.gw'], package_dir={'tupak': 'tupak'}, package_data={'tupak.gw': ['prior_files/*', 'noise_curves/*.txt'],