Mercurial > libervia-backend
changeset 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 | 53fec6309fa3 |
children | 940b6cfa17f1 |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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():