fixes for the pip installer - version 3.2.1
[nepi.git] / setup.py
index 988b4bc..7821ac9 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,6 @@
 from distutils.core import setup
 import sys
 
-
 with open('VERSION') as f:
     version_tag = f.read().strip()
 with open("COPYING") as f:
@@ -11,6 +10,8 @@ with open("COPYING") as f:
 with open("README") as f:
     long_description = f.read()
 
+data_files = [ ('/etc/nepi', [ 'VERSION', 'COPYING', 'README' ] ) ]
+
 setup(
     name             = "nepi",
     version          = version_tag,
@@ -22,6 +23,7 @@ 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,
     package_dir      = {"": "src"},
     packages         = [
         "nepi",