-
Notifications
You must be signed in to change notification settings - Fork 48
/
setup.py
69 lines (65 loc) · 2.21 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
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=[
"IPy",
"python-dateutil",
"requests>=2.7.0",
"ripe.atlas.cousteau~=2.0.0",
"ripe.atlas.sagan>=1.2,<2",
"tzlocal",
"pyyaml",
"pyOpenSSL>=0.13",
"typing-extensions",
],
extras_require={
"doc": ["sphinx", "sphinx_rtd_theme"],
"fast": ["ujson"],
},
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 :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
],
)