-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.15 KB
/
setup.py
File metadata and controls
39 lines (35 loc) · 1.15 KB
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 ASGI middleware using zstd.
Built using starlette under the hood, it can be used as a drop in replacement
to GZipMiddleware for Starlette or FastAPI, if you have a client that supports
it.
"""
from setuptools import setup # type: ignore
setup(
name="zstd-asgi",
version="1.0",
url="https://github.com/tuffnatty/zstd-asgi",
license="MIT",
author="Phil Krylov",
author_email="phil@krylov.eu",
description="Zstd compression ASGI middleware",
long_description=__doc__,
packages=["zstd_asgi"],
python_requires=">=3.9",
include_package_data=True,
install_requires=[
"starlette>=0.22.0",
"backports.zstd>=0.4; python_version < \"3.14.0\"",
],
platforms="any",
zip_safe=False,
classifiers=[
"Environment :: Web Environment",
"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 :: 3.14",
],
)