-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
47 lines (45 loc) · 1.69 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
from setuptools import find_packages, setup
with open("README.md") as fl:
LONG_DESCRIPTION = fl.read()
setup(
name="Flask-Compress",
use_scm_version=True,
url="https://github.com/colour-science/flask-compress",
license="MIT",
author="Thomas Mansencal",
author_email="[email protected]",
description=(
"Compress responses in your Flask app with gzip, deflate, brotli or zstandard."
),
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
platforms="any",
python_requires=">=3.9",
install_requires=[
"flask",
"brotli; platform_python_implementation!='PyPy'",
"brotlicffi; platform_python_implementation=='PyPy'",
"zstandard; platform_python_implementation!='PyPy'",
"zstandard[cffi]; platform_python_implementation=='PyPy'",
],
setup_requires=[
"setuptools_scm",
],
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)