# HG changeset patch # User Vincent Hatakeyama # Date 1675351561 -3600 # Thu Feb 02 16:26:01 2023 +0100 # Node ID adf79e0e5531fc94973749fe91a82ed1e92917e9 # Parent d708bb23ef89a4604d0d9c2e88bebcc7a018a099 Use setuptools-scm to extract the version number diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -3,7 +3,8 @@ setup( name='hg-confman', - version='2.0.2', + use_scm_version=True, + setup_requires=['setuptools_scm'], url='https://hg.sr.ht/~auc/confman', author=u'Aurélien Campéas', author_email='aurelien.campeas@pythonian.fr',