X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=setup.py;h=089c2512db60d46ba26c58d40b334cf76f014fab;hp=90d42e99fc54ea221e4cbc3db9a419ad57b31270;hb=73cfb31233ab2d1e1e86ab187b2bd1aa0f33ce7e;hpb=6d360b78f3ab908a9087520ce4dc254459c25829 diff --git a/setup.py b/setup.py index 90d42e99..089c2512 100755 --- a/setup.py +++ b/setup.py @@ -1,12 +1,20 @@ #!/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' +from nepi.util.version import version_tag + +# read licence info with open("COPYING") as f: license = f.read() with open("README.md") as f: