forked from RIPE-NCC/ripe-atlas-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (70 loc) · 2.36 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
import os
from os.path import abspath, dirname, join
from setuptools import setup
__version__ = None
exec(open("ripe/atlas/tools/version.py").read())
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# Get proper long description for package
current_dir = dirname(abspath(__file__))
description = open(join(current_dir, "README.rst")).read()
changes = open(join(current_dir, "CHANGES.rst")).read()
long_description = '\n\n'.join([description, changes])
# Get the long description from README.md
setup(
name="ripe.atlas.tools",
version=__version__,
packages=["ripe", "ripe.atlas", "ripe.atlas.tools"],
namespace_packages=["ripe", "ripe.atlas"],
include_package_data=True,
license="GPLv3",
description="The official command line client for RIPE Atlas",
long_description=long_description,
url="https://github.com/RIPE-NCC/ripe-atlas-tools",
download_url="https://github.com/RIPE-NCC/ripe-atlas-tools",
author="The RIPE Atlas team",
author_email="[email protected]",
maintainer="The RIPE Atlas team",
maintainer_email="[email protected]",
install_requires=[
"python-dateutil",
"requests>=2.7.0",
"ripe.atlas.cousteau>=1.0.6",
"ripe.atlas.sagan>=1.1.8",
"tzlocal",
"pyyaml",
"pyOpenSSL>=0.13",
],
tests_require=[
"nose",
"coverage",
"mock",
],
extras_require={
"doc": ["sphinx", "sphinx_rtd_theme"],
"fast": ["ujson"],
},
test_suite="nose.collector",
scripts=[
"scripts/aping",
"scripts/atraceroute",
"scripts/adig",
"scripts/asslcert",
"scripts/ahttp",
"scripts/antp",
"scripts/ripe-atlas",
],
keywords=['RIPE', 'RIPE NCC', 'RIPE Atlas', 'Command Line'],
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
],
)