Revision 473e2b08 snf-cyclades-gtools/setup.py

b/snf-cyclades-gtools/setup.py
40 40
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
41 41

  
42 42
try:
43
    # use devflow to update the version file
44
    from devflow.versioning import update_version
43
    # try to update the version file
44
    from synnefo.util.version import update_version
45 45
    update_version('synnefo.versions', 'ganeti', HERE)
46 46
except ImportError:
47
    raise RuntimeError("devflow is a build dependency")
47
    pass
48 48

  
49 49
from synnefo.versions.ganeti import __version__
50 50

  

Also available in: Unified diff