forked from RIPE-NCC/ripe-atlas-sagan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (55 loc) · 2.16 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
import os
from setuptools import setup
__version__ = None
exec(open("ripe/atlas/sagan/version.py").read())
name = "ripe.atlas.sagan"
install_requires = [
"python-dateutil",
"pytz",
]
tests_require = ["nose"]
if "SAGAN_WITHOUT_SSL" not in os.environ:
install_requires.append("cryptography")
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
changelog_path = os.path.join(os.path.dirname(__file__), "CHANGES.rst")
# Get the long description from README.md
with open(readme_path) as readme:
with open(changelog_path) as changelog:
setup(
name="ripe.atlas.sagan",
version=__version__,
packages=["ripe", "ripe.atlas", "ripe.atlas.sagan"],
namespace_packages=["ripe", "ripe.atlas"],
include_package_data=True,
license="GPLv3",
description="A parser for RIPE Atlas measurement results",
long_description="{readme}\n\n{changelog}".format(
readme=readme.read(),
changelog=changelog.read()
),
url="https://github.com/RIPE-NCC/ripe.atlas.sagan",
download_url="https://github.com/RIPE-NCC/ripe.atlas.sagan",
author="The RIPE Atlas Team",
author_email="[email protected]",
maintainer="The RIPE Atlas Team",
maintainer_email="[email protected]",
install_requires=install_requires,
tests_require=tests_require,
extras_require={
"fast": ["ujson"],
"doc": ["sphinx"]
},
test_suite="nose.collector",
classifiers=[
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
],
)