flask/setup.py

78 lines
2.5 KiB
Python
Raw Normal View History

import io
2015-02-07 01:06:16 +08:00
import re
2018-04-27 02:57:21 +08:00
2019-06-01 23:00:25 +08:00
from setuptools import find_packages
2015-02-07 01:06:16 +08:00
from setuptools import setup
with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
2015-02-07 01:06:16 +08:00
2019-06-01 23:00:25 +08:00
with io.open("src/flask/__init__.py", "rt", encoding="utf8") as f:
2019-06-24 07:56:42 +08:00
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
2010-04-06 19:23:18 +08:00
setup(
name="Flask",
2015-02-07 01:06:16 +08:00
version=version,
2019-06-23 04:10:50 +08:00
url="https://palletsprojects.com/p/flask/",
project_urls={
"Documentation": "http://flask.palletsprojects.com/",
"Code": "https://github.com/pallets/flask",
"Issue tracker": "https://github.com/pallets/flask/issues",
},
license="BSD-3-Clause",
author="Armin Ronacher",
author_email="armin.ronacher@active-4.com",
2019-06-23 04:10:50 +08:00
maintainer="Pallets",
maintainer_email="contact@palletsprojects.com",
description="A simple framework for building complex web applications.",
long_description=readme,
2010-04-16 20:24:12 +08:00
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
2010-05-31 23:53:10 +08:00
],
2019-06-24 07:56:42 +08:00
packages=find_packages("src"),
package_dir={"": "src"},
2011-09-22 20:08:03 +08:00
include_package_data=True,
2019-06-24 07:56:42 +08:00
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
install_requires=[
2019-06-24 07:56:42 +08:00
"Werkzeug>=0.15",
"Jinja2>=2.10.1",
2019-06-23 04:10:50 +08:00
"itsdangerous>=0.24",
"click>=5.1",
2010-04-16 20:24:12 +08:00
],
extras_require={
2019-06-23 04:10:50 +08:00
"dotenv": ["python-dotenv"],
"dev": [
"pytest",
"coverage",
"tox",
"sphinx",
"pallets-sphinx-themes",
"sphinxcontrib-log-cabinet",
"sphinx-issues",
],
2019-06-23 04:10:50 +08:00
"docs": [
"sphinx",
"pallets-sphinx-themes",
"sphinxcontrib-log-cabinet",
"sphinx-issues",
2018-02-07 00:03:09 +08:00
],
},
entry_points={"console_scripts": ["flask = flask.cli:main"]},
2010-04-06 19:23:18 +08:00
)