3 from distutils.core import setup
7 PY2 = sys.version_info[0] == 2
10 # while cleaning up version.py might just not be there
12 from nepi.util.version import version_tag
14 version_tag = 'cleaningup'
16 ### NOTE: these 2 files are made available at install-time in MANIFEST.in
18 with open("COPYING") as f:
20 with open("README.md") as f:
21 long_description = f.read()
23 ### requirements - used by pip install
24 required_modules = [ ]
25 # we are now using six for a portable code
26 required_modules.append('six')
27 # ipaddr in py2 used to be a separate lib
28 # within recent py3, it is now in standard library but named ipaddress
30 required_modules.append('ipaddr')
31 # this is required regardless of the python version
32 required_modules.append('networkx')
33 # refrain from mentioning these ones that are not exactly crucial
34 # and that have additional, non-python, dependencies
35 # that can easily break the whole install
36 #required_modules.append('matplotlib')
37 #required_modules.append('pygraphviz')
41 version = version_tag,
42 description = "Network Experiment Management Framework",
43 long_description = long_description,
45 author = "Alina Quereilhac",
46 author_email = "alina.quereilhac@inria.fr",
47 download_url = "http://build.onelab.eu/nepi/nepi-{v}.tar.gz".format(v=version_tag),
48 url = "http://nepi.inria.fr/",
49 platforms = "Linux, OSX",
55 "nepi.resources.linux",
56 "nepi.resources.linux.ccn",
57 "nepi.resources.linux.ns3",
58 "nepi.resources.linux.ns3.ccn",
59 "nepi.resources.linux.netns",
60 "nepi.resources.netns",
62 "nepi.resources.ns3.classes",
64 "nepi.resources.planetlab",
65 "nepi.resources.planetlab.ns3",
66 "nepi.resources.planetlab.openvswitch",
70 "nepi.data.processing",
71 "nepi.data.processing.ccn",
72 "nepi.data.processing.ping"],
74 "nepi.resources.planetlab" : [ "scripts/*.py" ],
75 "nepi.resources.linux" : [ "scripts/*.py" ],
76 "nepi.resources.linux.ns3" : [ "dependencies/*.tar.gz" ]
78 install_requires = required_modules,