-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
76 lines (69 loc) · 2.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
from setuptools import setup
import os
from distutils.util import get_platform
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
def packages(lib):
def dirs(*path):
for location, _, _ in os.walk(os.path.join(*path)):
yield location
def modules(lib):
return next(os.walk(lib))[1]
r = []
for module in modules(lib):
for d in dirs(lib, module):
r.append(d.replace('/', '.').replace('\\', '.')[len(lib) + 1:])
return r
setup(
name="traixroute",
version="2.3",
description='A tool that detects at which hop in a traceroute path an IXP fabric has been crossed.',
long_description=long_description,
package_dir={'': 'lib'},
install_requires=['setuptools',
'cffi==1.7.0',
'cryptography==2.3',
'idna==2.5',
'pyasn1==0.1.9',
'pycparser==2.14',
'pyopenssl==17.5.0',
'pysubnettree==0.26',
'python-dateutil==2.5.3',
'pytz==2016.6.1',
'requests==2.20.0',
'ripe.atlas.cousteau==1.4',
'ripe.atlas.sagan==1.1.11',
'six==1.11.0',
'socketIO-client==0.7.0',
'ujson==1.35',
'websocket-client==0.37.0',
'fuzzywuzzy[speedup]==0.16.0',
'netaddr==0.7.19'
],
packages=packages('lib'),
package_data={'': ['*.txt', '*.json',
'*.csv', 'config', 'RouteViews/routeviews']},
author="Michalis Bamiedakis, Dimitris Mavrommatis and George Nomikos",
author_email="gnomikos@ics.forth.gr",
keywords="traIXroute Internet Exchange Points crossing traceroute ripe atlas",
url="https://github.com/gnomikos/traIXroute",
license='GNU General Public License v3 (GPLv3)',
platforms=[get_platform(),],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
'Intended Audience :: Telecommunications Industry',
'Environment :: Console',
],
entry_points={
'console_scripts': [
'traixroute = traixroute.application:run_traixroute',
'scamper-install = traixroute.downloader.install_scamper:main',
],
},
)