diff --git a/setup.py b/setup.py index fa21c50..903c84c 100755 --- a/setup.py +++ b/setup.py @@ -203,7 +203,8 @@ def gen_packages_items(): # See https://github.com/pypa/setuptools_scm/ for more information setup_requires=['setuptools_scm'], use_scm_version={ - 'write_to_template': '__version__ = "0.2"', + 'write_to': 'wbia-whaleridgefindr/_version.py', + 'write_to_template': '__version__ = "{version}"', 'tag_regex': '^(?Pv)?(?P[^\\+]+)(?P.*)?$', 'local_scheme': 'dirty-tag', },