From ed43f7da2b40a73569d134160d7526f9e116d23c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 5 Nov 2015 14:50:25 +0100 Subject: [PATCH] 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 --- setup.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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: -- 2.43.0