-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
39 lines (35 loc) · 1.2 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
"""A compression AGSI middleware using brotli.
Built using starlette under the hood, it can be used as a drop-in replacement to
GZipMiddleware for Starlette or FastAPI.
"""
from setuptools import setup # type: ignore
extras = {
'test_brotli': ['requests>=2.23.0', 'mypy>=0.770'],
'test_brotlipy': ['requests>=2.23.0', 'mypy>=0.770', 'brotlipy>=0.7.0']
}
setup(
name="brotli-asgi",
version="1.4.0",
url="https://github.com/fullonic/brotli-asgi",
license="MIT",
author="Diogo B Freitas",
author_email="[email protected]",
description="A compression AGSI middleware using brotli",
long_description=__doc__,
packages=["brotli_asgi"],
python_requires=">=3.7",
include_package_data=True,
install_requires=["starlette>=0.25.0", "brotli>=1.0.9"],
extras_require=extras,
platforms="any",
zip_safe=False,
classifiers=[
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)