fix all-tests
[nepi.git] / setup.py
index 988b4bc..ef584b0 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",
@@ -50,5 +52,14 @@ setup(
         "nepi.resources.planetlab" : [ "scripts/*.py" ],
         "nepi.resources.linux" : [ "scripts/*.py" ],
         "nepi.resources.linux.ns3" : [ "dependencies/*.tar.gz" ]
-    }
+    },
+    install_requires = [
+        "ipaddr",
+        "networkx",
+        # refrain from mentioning these ones that are not exactly crucial
+        # and that have additional, non-python, dependencies
+        # that can easily break the whole install
+        # "matplotlib",
+        # "pygraphviz",
+        ]
 )