From 5c5f012c2aa376929edf68d0612c08a7f7518454 Mon Sep 17 00:00:00 2001 From: alexus37 Date: Mon, 16 Aug 2021 11:43:27 +0200 Subject: [PATCH] remove hard code version and replace with scm versioning --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 06a92ae..a6e05a7 100644 --- a/setup.py +++ b/setup.py @@ -146,9 +146,15 @@ def run(self): setup( name="partio", description="A Python wrapper for partio", - version="1.14.0", packages=[], ext_modules=[PARTIO_EXT], cmdclass={"build_ext": BuildCMakeExtension, "install_lib": InstallLibs,}, python_requires=">=3.6", + setup_requires=["setuptools_scm"], + use_scm_version={ + "root": ".", + "relative_to": __file__, + "local_scheme": "no-local-version", + "version_scheme": "no-guess-dev", + }, )