X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=c4311b495732d848978293401dab754f4590cb8b;hb=7137010b13dcede2f6efcff0be902e1676b40144;hp=988b4bc03f28ef94e3029bab93caaedda458fe9f;hpb=e96e370df463518cf451a8f8df9f9a93d2b94730;p=nepi.git diff --git a/setup.py b/setup.py index 988b4bc0..c4311b49 100755 --- 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,11 @@ setup( "nepi.resources.planetlab" : [ "scripts/*.py" ], "nepi.resources.linux" : [ "scripts/*.py" ], "nepi.resources.linux.ns3" : [ "dependencies/*.tar.gz" ] - } + }, + install_requires = [ + "ipaddr", + "networkx", + "pygraphviz", + "matplotlib", + ] )