-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (49 loc) · 1.68 KB
/
setup.py
File metadata and controls
54 lines (49 loc) · 1.68 KB
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
import os
from os.path import abspath, dirname, join
from setuptools import setup
__version__ = None
exec(open("ripe/atlas/sagan/version.py").read())
name = "ripe.atlas.sagan"
install_requires = [
"python-dateutil",
"pytz",
"cryptography",
]
# 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])
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=long_description,
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="atlas@ripe.net",
maintainer="The RIPE Atlas Team",
maintainer_email="atlas@ripe.net",
install_requires=install_requires,
extras_require={
"fast": ["ujson"],
"doc": ["sphinx"]
},
classifiers=[
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
],
)