install (setup): add setuptools_scm to install dependencies if in dev version
This commit is contained in:
parent
8b3d900922
commit
5004e3465e
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -63,6 +63,8 @@ DBUS_FILE = 'misc/org.libervia.Libervia.service'
|
|||
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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue