-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
57 lines (53 loc) · 2.09 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
from platform import python_implementation
from setuptools import setup
install_requires = ['django', 'zstandard']
if python_implementation() == 'PyPy':
install_requires.append('brotlipy')
else:
install_requires.append('Brotli')
setup(
name='django-compression-middleware',
version='0.5.0',
description="""Django middleware to compress responses using several algorithms.""",
long_description=io.open("README.rst", 'r', encoding="utf-8").read(),
url='https://github.com/friedelwolff/django-compression-middleware',
author='Friedel Wolff',
author_email='[email protected]',
packages=['compression_middleware'],
install_requires=install_requires,
include_package_data=True,
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Natural Language :: English',
'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',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Internet :: WWW/HTTP :: ASGI :: Middleware',
]
)