-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
setup.py
65 lines (63 loc) · 1.89 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
import os
from setuptools import setup
#: Absolute path to directory containing setup.py file.
here = os.path.abspath(os.path.dirname(__file__))
setup(
name="django-downloadview",
use_scm_version={"version_scheme": "post-release"},
setup_requires=["setuptools_scm"],
description="Serve files with Django and reverse-proxies.",
long_description=open(os.path.join(here, "README.rst")).read(),
long_description_content_type="text/x-rst",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"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",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
],
keywords=" ".join(
[
"file",
"stream",
"download",
"FileField",
"ImageField",
"x-accel",
"x-accel-redirect",
"x-sendfile",
"sendfile",
"mod_xsendfile",
"offload",
]
),
author="Benoît Bryon",
author_email="[email protected]",
url="https://django-downloadview.readthedocs.io/",
license="BSD",
packages=[
"django_downloadview",
"django_downloadview.apache",
"django_downloadview.lighttpd",
"django_downloadview.nginx",
"django_downloadview.views",
],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
# BEGIN requirements
"Django>=4.2",
"requests",
# END requirements
],
extras_require={
"test": ["tox"],
},
)