-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
63 lines (60 loc) · 1.92 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
from setuptools import setup, find_packages
VERSION = open("VERSION").read().strip()
README = open("README.rst").read()
redis_requirements = ["redis>=3"]
memcache_requirements = ["pylibmc"]
test_requirements = [
"black~=22.10.0",
"cachecontrol",
"flask",
"mypy==0.991",
"pandas",
"pandas-stubs",
"pyarrow",
"pyflakes",
"pytest-cov",
"pytest~=7.2.0",
"requests",
"sphinx-autodoc-typehints~=1.19.5",
"sphinx==5.3.0",
"time-machine~=2.13.0",
"types-python-dateutil",
"types-redis",
"types-requests",
"wheel",
]
setup(
name="pyappcache",
version=VERSION,
packages=find_packages(exclude=["tests.*", "tests"]),
package_data={"pyappcache": ["py.typed"]},
include_package_data=True,
long_description=README,
long_description_content_type="text/markdown",
python_requires=">=3.8",
install_requires=["typing_extensions", "python-dateutil"],
extras_require={
"redis": redis_requirements,
"memcache": memcache_requirements,
"tests": test_requirements + memcache_requirements + redis_requirements,
"dev": ["bpython~=0.18"],
},
project_urls={
"Documentation": "https://pyappcache.readthedocs.io/en/latest/",
"Code": "https://github.com/calpaterson/pyappcache",
"Issue tracker": "https://github.com/calpaterson/pyappcache/issues",
},
url="https://github.com/calpaterson/pyappcache",
author="Cal Paterson",
author_email="cal@calpaterson.com",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)