From: Thierry Parmentelat Date: Thu, 5 Nov 2015 13:50:25 +0000 (+0100) Subject: based on experience with sfa, setup.py can be called in situations where a cleanup... X-Git-Tag: nepi-6.0.4-pypi~3 X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=commitdiff_plain;h=ed43f7da2b40a73569d134160d7526f9e116d23c based on experience with sfa, setup.py can be called in situations where a cleanup is ongoing and in this case we might not have version.py around --- diff --git a/setup.py b/setup.py index 089c2512..3225cc27 100755 --- 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: