Revision c9b113ac snf-common/setup.py
b/snf-common/setup.py | ||
---|---|---|
44 | 44 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
45 | 45 |
|
46 | 46 |
try: |
47 |
# try to update the version file
|
|
48 |
from synnefo.util.version import update_version
|
|
47 |
# use devtools to update the version file
|
|
48 |
from devtools.version import update_version
|
|
49 | 49 |
update_version('synnefo.versions', 'common', HERE) |
50 | 50 |
except ImportError: |
51 |
pass
|
|
51 |
raise RuntimeError("devtools is a build dependency")
|
|
52 | 52 |
|
53 | 53 |
from synnefo.versions.common import __version__ |
54 | 54 |
|
Also available in: Unified diff