changelog file
[nepi.git] / setup.py
index 90d42e9..3225cc2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,19 @@
 #!/usr/bin/env python
 
 from distutils.core import setup
-import sys
 
+# python2 or python3 ?
+import sys
 PY2 = sys.version_info[0] == 2
 
-with open('VERSION') as f:
-    version_tag = f.read().strip()
+# read version
+# while cleaning up version.py might just not be there
+try:
+    from nepi.util.version import version_tag
+except:
+    version_tag = 'cleaningup'
+
+# read licence info
 with open("COPYING") as f:
     license = f.read()
 with open("README.md") as f: