Index: setup.py =================================================================== diff -u -r90f916769c945c4ebea867225e1964940c3a41b6 -r49aff426d0e03f44a926ada26e0494f72b768749 --- setup.py (.../setup.py) (revision 90f916769c945c4ebea867225e1964940c3a41b6) +++ setup.py (.../setup.py) (revision 49aff426d0e03f44a926ada26e0494f72b768749) @@ -26,8 +26,13 @@ "Operating System :: POSIX :: Linux", ], python_requires="~=3.6", + # use_scm_version is what helps create the version number within the .whl package + # see https://github.com/pypa/setuptools_scm for details. + use_scm_version = {"version_scheme" : "no-guess-dev", - "git_describe_command" : "git describe --dirty --tags --long --exclude *LTTS*"}, + 'write_to': '_version.py', + 'write_to_template': '__version__ = "{version}"', + 'tag_regex': '^(?P[vV]?\d+(?:\.\d+){0,2})(?P.*)'}, setup_requires=['setuptools_scm'], install_requires=[ "aenum",