Revision 473e2b08 snf-pithos-tools/setup.py

b/snf-pithos-tools/setup.py
44 44
from setuptools import setup, find_packages
45 45

  
46 46
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
47

  
48 47
try:
49
    # use devflow to update the version file
50
    from devflow.versioning import update_version
51
    update_version('pithos.tools', 'version', HERE)
48
    # try to update the version file
49
    from synnefo.util import version
50
    version.update_version('pithos.tools', 'version', HERE)
52 51
except ImportError:
53
    raise RuntimeError("devflow is a build dependency")
52
    pass
54 53

  
55 54
from pithos.tools.version import __version__
56 55

  

Also available in: Unified diff