-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
74 lines (69 loc) · 2.87 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
Modified by Madoshakalaka@Github (dependency links added)
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
setup_requires=["pbr"],
pbr=True,
# Specify which Python versions you support. In contrast to the
# 'Programming Language' classifiers above, 'pip install' will check this
# and refuse to install the project if the version does not match. If you
# do not support Python 2, you can simplify this to '>=3.5' or similar, see
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
python_requires=">=3.7, <4", # >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4",
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
"asn1crypto==1.4.0",
"cffi==1.15.0",
"cryptography==2.3",
"dateutils==0.6.12",
"gevent==20.6.1",
"greenlet==0.4.16; platform_python_implementation == 'CPython'",
"idna==3.3",
"psutil==5.8.0",
"pycparser==2.21",
"pyopenssl==19.0.0",
"python-dateutil==2.8.2",
"pytz==2021.3",
"pyyaml==6.0",
"pyzmq==22.3.0",
"six==1.16.0",
"tzlocal==2.1",
"watchdog==2.1.6",
"watchdog-gevent==0.1.1",
"zmq==0.0.0",
"zope.event==4.5.0",
"zope.interface==5.4.0",
], # Optional
# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
# syntax, for example:
#
# $ pip install sampleproject[dev]
#
# Similar to `install_requires` above, these must be valid existing
# projects.
extras_require={"dev": []}, # Optional
# If there are data files included in your packages that need to be
# installed, specify them here.
#
# Sometimes you’ll want to use packages that are properly arranged with
# setuptools, but are not published to PyPI. In those cases, you can specify
# a list of one or more dependency_links URLs where the package can
# be downloaded, along with some additional hints, and setuptools
# will find and install the package correctly.
# see https://python-packaging.readthedocs.io/en/latest/dependencies.html#packages-not-on-pypi
#
dependency_links=[],
)