Skip to content

Commit

Permalink
setting up versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Jan 17, 2022
1 parent 93b2856 commit 94a4131
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
File renamed without changes.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ include AUTHORS

# Include the Docker src
include xnat4tests/docker-src/*

# Include Versioneer files
include versioneer.py
include xnat4tests/_version.py
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
packages=find_packages(),
Expand All @@ -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",
Expand Down

0 comments on commit 94a4131

Please sign in to comment.