-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (41 loc) · 1.88 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
"""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
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",
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[], # 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=[],
)