based on experience with sfa, setup.py can be called in situations where a cleanup...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 5 Nov 2015 13:50:25 +0000 (14:50 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 5 Nov 2015 13:50:25 +0000 (14:50 +0100)
setup.py

index 089c251..3225cc2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -8,11 +8,10 @@ PY2 = sys.version_info[0] == 2
 
 # read version
 # while cleaning up version.py might just not be there
-#try:
-#    from nepi.util.version import version_tag
-#except:
-#    version_tag = 'cleaningup'
-from nepi.util.version import version_tag
+try:
+    from nepi.util.version import version_tag
+except:
+    version_tag = 'cleaningup'
 
 # read licence info
 with open("COPYING") as f: