From 213d3a51d4825a4d2875ba796dccfb5e063aed50 Mon Sep 17 00:00:00 2001 From: matfax Date: Tue, 29 Oct 2019 11:29:58 +0100 Subject: [PATCH] build(setup): switch to setuptools-git-ver to avoid possible tagging issues on dirty branches --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 5c2803c..4bcff7c 100644 --- a/setup.py +++ b/setup.py @@ -8,8 +8,9 @@ name="mutapath", packages=find_packages(), version_config={ - "version_format": "{tag}", - "starting_version": "0.1.0" + "template": "{tag}", + "dev_template": "{tag}.dev{ccount}+git.{sha}", + "dirty_template": "{tag}", }, license="lgpl-3.0", description="Mutable Pathlib", @@ -19,7 +20,7 @@ author_email="matthias.fax@gmail.com", url="https://github.com/matfax/mutapath", keywords=["pathlib", "mutable", "path"], - setup_requires=["better-setuptools-git-version"], + setup_requires=["setuptools-git-ver"], install_requires=get_dependencies(), classifiers=[ "Development Status :: 4 - Beta",