-
-
Notifications
You must be signed in to change notification settings - Fork 192
/
setup.py
executable file
·67 lines (58 loc) · 1.98 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
#!/usr/bin/env python
import os
import ast
import re
from setuptools import find_packages, setup
_version_re = re.compile(r"__version__\s+=\s+(.*)")
def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, *parts), "r") as fp:
return fp.read()
version_line = re.search(
r"__version__\s+=\s+(.*)", read("flask_caching", "__init__.py")
).group(1)
version = str(ast.literal_eval(version_line))
long_description = read("README.md")
setup(
name="Flask-Caching",
version=version,
project_urls={
"Documentation": "https://flask-caching.readthedocs.io",
"Source Code": "https://github.com/sh4nks/flask-caching",
"Issue Tracker": "https://github.com/sh4nks/flask-caching/issues",
},
url="https://github.com/sh4nks/flask-caching",
license="BSD",
author="Peter Justin",
author_email="peter.justin@outlook.com",
description="Adds caching support to your Flask application",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=("tests",)),
zip_safe=False,
platforms="any",
python_requires=">=3.5",
install_requires=["Flask"],
tests_require=[
"pytest",
"pytest-cov",
"pytest-xprocess",
"pylibmc",
"redis",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
],
)