-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
73 lines (64 loc) · 2.28 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
66
67
68
69
70
71
72
73
import codecs
import os
from setuptools import find_packages
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""Return the contents of the read file.
- Build an absolute path from *parts*
- Return the contents of the resulting file.
- Assume UTF-8 encoding.
Proudly copy-pasted from Hynek's attrs project
(minus the typo).
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
LONG = read("README.rst") + "\n\n" + read("CHANGES.rst")
setup(
name="Flask-Reuploaded",
version="1.4.0",
url="https://github.com/jugmac00/flask-reuploaded",
project_urls={
"Source": "https://github.com/jugmac00/flask-reuploaded",
"Issue Tracker": "https://github.com/jugmac00/flask-reuploaded/issues",
"Documentation": "https://flask-reuploaded.readthedocs.io/en/latest/",
},
license="MIT",
author='Matthew "LeafStorm" Frazier',
author_email="[email protected]",
maintainer="Jürgen Gmach",
maintainer_email="[email protected]",
description="Flexible and efficient upload handling for Flask",
long_description=LONG,
long_description_content_type="text/x-rst",
packages=find_packages(where="src"),
package_dir={"": "src"},
zip_safe=False,
platforms="any",
include_package_data=True,
install_requires=["Flask>=1.0.4"],
extras_require={
"test": [
"pytest",
"pytest-cov",
],
},
python_requires=">= 3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Flask",
],
)