-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.22 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
"""Package Setup."""
from setuptools import find_packages, setup
readme = open("README.rst").read()
requirements = {
"package": [],
"test": [
"pytest",
"pytest-cov",
"pytest-flake8",
"pytest-mock",
"pytest-pudb",
],
"setup": [
"pytest-runner",
],
}
requirements.update(all=sorted(set().union(*requirements.values())))
setup(
name="restraint",
version="0.0.2",
description="Rate Limiting Module",
long_description=readme,
author="Kyle James Walker",
author_email="[email protected]",
url="https://github.com/KyleJamesWalker/restraint-py",
packages=find_packages(exclude=["tests*"]),
install_requires=requirements["package"],
extras_require=requirements,
setup_requires=requirements["setup"],
license="MIT",
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
test_suite="tests",
tests_require=requirements["test"],
)