Mercurial > libervia-backend
diff setup.py @ 3556:bb87ddfdde58
install (setup): add `setuptools_scm` to install dependencies if in dev version
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 09 Jun 2021 17:30:27 +0200 |
parents | 7892585b7e17 |
children | 813595f88612 1b52e5ea3a7e |
line wrap: on
line diff
--- 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():