comparison setup.py @ 3573:813595f88612

merge changes from main branch
author Goffi <goffi@goffi.org>
date Thu, 17 Jun 2021 13:05:58 +0200
parents 60d3861e5996 bb87ddfdde58
children 8dd5e1bac9c3
comparison
equal deleted inserted replaced
3541:888109774673 3573:813595f88612
64 DBUS_DIR = 'dbus-1/services' 64 DBUS_DIR = 'dbus-1/services'
65 DBUS_FILE = 'misc/org.libervia.Libervia.service' 65 DBUS_FILE = 'misc/org.libervia.Libervia.service'
66 with open(os.path.join(NAME, 'VERSION')) as f: 66 with open(os.path.join(NAME, 'VERSION')) as f:
67 VERSION = f.read().strip() 67 VERSION = f.read().strip()
68 is_dev_version = VERSION.endswith('D') 68 is_dev_version = VERSION.endswith('D')
69 if is_dev_version:
70 install_requires.append("setuptools_scm")
69 71
70 72
71 def sat_dev_version(): 73 def sat_dev_version():
72 """Use mercurial data to compute version""" 74 """Use mercurial data to compute version"""
73 def version_scheme(version): 75 def version_scheme(version):