diff --git a/LICENCE b/LICENSE similarity index 100% rename from LICENCE rename to LICENSE diff --git a/MANIFEST.in b/MANIFEST.in index 8aa3396..e3fab17 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,5 +9,7 @@ include AUTHORS # Include the Docker src include xnat4tests/docker-src/* + +# Include Versioneer files include versioneer.py include xnat4tests/_version.py diff --git a/setup.cfg b/setup.cfg index 14a2585..ac10dec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,3 +10,10 @@ license_file = LICENSE # bdist_wheel from trying to make a universal wheel. For more see: # https://packaging.python.org/tutorials/distributing-packages/#wheels universal=0 + +[versioneer] +VCS = git +style = pep440 +versionfile_source = xnat4tests/_version.py +versionfile_build = xnat4tests/_version.py +tag_prefix = \ No newline at end of file diff --git a/setup.py b/setup.py index 5f5a9b3..83ff893 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,10 @@ +import versioneer from setuptools import setup, find_packages setup( name='xnat4tests', - version='0.1', + version=versioneer.get_version(), author='Thomas G. Close', author_email='tom.g.close@gmail.com', packages=find_packages(), @@ -19,6 +20,7 @@ 'test': [ 'pytest>=5.4.3']}, include_package_data=True, + cmdclass=versioneer.get_cmdclass(), classifiers=( ["Development Status :: 4 - Beta", "Intended Audience :: Healthcare Industry",