mirror of https://github.com/pallets/flask.git
31 lines
714 B
Python
31 lines
714 B
Python
import re
|
|
|
|
from setuptools import setup
|
|
|
|
with open("src/flask/__init__.py", encoding="utf8") as f:
|
|
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
|
|
|
|
# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
|
|
setup(
|
|
name="Flask",
|
|
version=version,
|
|
install_requires=[
|
|
"Werkzeug>=0.15",
|
|
"Jinja2>=2.10.1",
|
|
"itsdangerous>=0.24",
|
|
"click>=5.1",
|
|
],
|
|
extras_require={
|
|
"dotenv": ["python-dotenv"],
|
|
"dev": [
|
|
"pytest",
|
|
"coverage",
|
|
"tox",
|
|
"sphinx",
|
|
"pallets-sphinx-themes",
|
|
"sphinxcontrib-log-cabinet",
|
|
"sphinx-issues",
|
|
],
|
|
},
|
|
)
|