X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=ef584b0d2812338a129f5f14f19e222ebc39cf8d;hb=5e7ecb0746118946dd5b8ae877a33e671fdcfb9a;hp=988b4bc03f28ef94e3029bab93caaedda458fe9f;hpb=e96e370df463518cf451a8f8df9f9a93d2b94730;p=nepi.git diff --git a/setup.py b/setup.py index 988b4bc0..ef584b0d 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,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", + ] )