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'
15 from nepi.util.version import version_tag
18 with open("COPYING") as f:
20 with open("README.md") as f:
21 long_description = f.read()
23 # we'd probably would be better off with this some place else
24 data_files = [ ('/etc/nepi', [ 'COPYING', 'README.md' ] ) ]
26 ### requirements - used by pip install
27 required_modules = [ ]
28 # we are now using six for a portable code
29 required_modules.append('six')
30 # ipaddr in py2 used to be a separate lib
31 # within recent py3, it is now in standard library but named ipaddress
33 required_modules.append('ipaddr')
34 # this is required regardless of the python version
35 required_modules.append('networkx')
36 # refrain from mentioning these ones that are not exactly crucial
37 # and that have additional, non-python, dependencies
38 # that can easily break the whole install
39 #required_modules.append('matplotlib')
40 #required_modules.append('pygraphviz')
44 version = version_tag,
45 description = "Network Experiment Management Framework",
46 long_description = long_description,
48 author = "Alina Quereilhac",
49 author_email = "alina.quereilhac@inria.fr",
50 download_url = "http://build.onelab.eu/nepi/nepi-{v}.tar.gz".format(v=version_tag),
51 url = "http://nepi.inria.fr/",
52 platforms = "Linux, OSX",
53 data_files = data_files,
59 "nepi.resources.linux",
60 "nepi.resources.linux.ccn",
61 "nepi.resources.linux.ns3",
62 "nepi.resources.linux.ns3.ccn",
63 "nepi.resources.linux.netns",
64 "nepi.resources.netns",
66 "nepi.resources.ns3.classes",
68 "nepi.resources.planetlab",
69 "nepi.resources.planetlab.ns3",
70 "nepi.resources.planetlab.openvswitch",
74 "nepi.data.processing",
75 "nepi.data.processing.ccn",
76 "nepi.data.processing.ping"],
78 "nepi.resources.planetlab" : [ "scripts/*.py" ],
79 "nepi.resources.linux" : [ "scripts/*.py" ],
80 "nepi.resources.linux.ns3" : [ "dependencies/*.tar.gz" ]
82 install_requires = required_modules,