# HG changeset patch # User Goffi # Date 1623252627 -7200 # Node ID bb87ddfdde58c4e4a0ea1f6eca8456655f7b7440 # Parent 53fec6309fa3d1015c7c5243d92171941706388f install (setup): add `setuptools_scm` to install dependencies if in dev version diff -r 53fec6309fa3 -r bb87ddfdde58 setup.py --- a/setup.py Wed Jun 09 17:29:29 2021 +0200 +++ b/setup.py Wed Jun 09 17:30:27 2021 +0200 @@ -63,6 +63,8 @@ with open(os.path.join(NAME, 'VERSION')) as f: VERSION = f.read().strip() is_dev_version = VERSION.endswith('D') +if is_dev_version: + install_requires.append("setuptools_scm") def sat_dev_version():