-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathsetup.py
44 lines (38 loc) · 1.42 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
# SPDX-FileCopyrightText: 2015 Eric Larson
#
# SPDX-License-Identifier: Apache-2.0
import setuptools
long_description = open("README.rst").read()
VERSION = "0.12.11"
setup_params = dict(
name="CacheControl",
version=VERSION,
author="Eric Larson",
author_email="[email protected]",
url="https://github.com/ionrock/cachecontrol",
keywords="requests http caching web",
packages=setuptools.find_packages(),
package_data={"": ["LICENSE.txt"]},
package_dir={"cachecontrol": "cachecontrol"},
include_package_data=True,
description="httplib2 caching for requests",
long_description=long_description,
install_requires=["requests", "msgpack>=0.5.2"],
extras_require={"filecache": ["lockfile>=0.9"], "redis": ["redis>=2.10.5"]},
entry_points={"console_scripts": ["doesitcache = cachecontrol._cmd:main"]},
python_requires=">=3.6",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
],
)
if __name__ == "__main__":
setuptools.setup(**setup_params)