Commit 62d65f99 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Create version file if missing

parent ca2ab4a8
......@@ -43,7 +43,13 @@ from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
from devflow.version import __version__
try:
from devflow.version import __version__
except ImportError:
# Bootstrap devflow
from devflow.versioning import update_version
update_version()
from devflow.version import __version__
# Package info
VERSION = __version__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment