6.1.2
[nepi.git] / setup.py
index 089c251..a252096 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -8,21 +8,18 @@ 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'
 
+### NOTE: these 2 files are made available at install-time in MANIFEST.in
 # read licence info
 with open("COPYING") as f:
     license = f.read()
 with open("README.md") as f:
     long_description = f.read()
 
-# we'd probably would be better off with this some place else
-data_files = [ ('/etc/nepi', [ 'COPYING', 'README.md' ] ) ]
-
 ### requirements - used by pip install
 required_modules = [ ]
    # we are now using six for a portable code
@@ -50,7 +47,6 @@ setup(
     download_url     = "http://build.onelab.eu/nepi/nepi-{v}.tar.gz".format(v=version_tag),
     url              = "http://nepi.inria.fr/",
     platforms        = "Linux, OSX",
-    data_files       = data_files,
     packages         = [
         "nepi",
         "nepi.execution",