X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=setup.py;h=ef584b0d2812338a129f5f14f19e222ebc39cf8d;hp=e6690a09b6f6f09a7c7638114132f25514a82778;hb=refs%2Fheads%2Fpy2;hpb=152fd56d074ae6c2dbbe205bbfacf66fa3dfa63a diff --git a/setup.py b/setup.py index e6690a09..ef584b0d 100755 --- a/setup.py +++ b/setup.py @@ -1,26 +1,65 @@ #!/usr/bin/env python -# vim: set fileencoding=utf-8 -from distutils.core import setup, Extension, Command + +from distutils.core import setup +import sys + +with open('VERSION') as f: + version_tag = f.read().strip() +with open("COPYING") as f: + license = f.read() +with open("README") as f: + long_description = f.read() + +data_files = [ ('/etc/nepi', [ 'VERSION', 'COPYING', 'README' ] ) ] setup( - name = "nepi", - version = "0.2", - description = "High-level abstraction for running network experiments", - author = "Mathieu Lacage, Alina Quereilhac, Martín Ferrari and Claudio Freire", - url = "http://yans.pl.sophia.inria.fr/code/hgwebdir.cgi/nepi/", - license = "GPLv2", - platforms = "Linux", - packages = [ - "nepi", - "nepi.testbeds", - "nepi.testbeds.netns", - "nepi.testbeds.ns3", - "nepi.testbeds.planetlab", - "nepi.core", - "nepi.util.parser", - "nepi.util.settools", - "nepi.util" ], - package_dir = {"": "src"}, - package_data = {"nepi.testbeds.planetlab" : ["scripts/*.py", "scripts/*.c"], - "nepi.util" : ["*.tpl"] }, - ) + name = "nepi", + version = version_tag, + description = "Network Experiment Management Framework", + long_description = long_description, + license = license, + author = "Alina Quereilhac", + author_email = "alina.quereilhac@inria.fr", + 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", + "nepi.execution", + "nepi.resources", + "nepi.resources.all", + "nepi.resources.linux", + "nepi.resources.linux.ccn", + "nepi.resources.linux.ns3", + "nepi.resources.linux.ns3.ccn", + "nepi.resources.linux.netns", + "nepi.resources.netns", + "nepi.resources.ns3", + "nepi.resources.ns3.classes", + "nepi.resources.omf", + "nepi.resources.planetlab", + "nepi.resources.planetlab.ns3", + "nepi.resources.planetlab.openvswitch", + "nepi.util", + "nepi.util.parsers", + "nepi.data", + "nepi.data.processing", + "nepi.data.processing.ccn", + "nepi.data.processing.ping"], + package_data = { + "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", + ] +)