flask/setup.py

31 lines
714 B
Python
Raw Normal View History

2015-02-06 18:06:16 +01:00
import re
2018-04-26 11:57:21 -07:00
2015-02-06 18:06:16 +01:00
from setuptools import setup
2020-04-04 09:43:06 -07:00
with open("src/flask/__init__.py", encoding="utf8") as f:
2019-06-23 16:56:42 -07:00
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
2020-04-04 14:36:09 -07:00
# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
2010-04-06 13:23:18 +02:00
setup(
name="Flask",
2015-02-06 18:06:16 +01:00
version=version,
install_requires=[
2019-06-23 16:56:42 -07:00
"Werkzeug>=0.15",
"Jinja2>=2.10.1",
2019-06-22 13:10:50 -07:00
"itsdangerous>=0.24",
"click>=5.1",
2010-04-16 14:24:12 +02:00
],
extras_require={
2019-06-22 13:10:50 -07:00
"dotenv": ["python-dotenv"],
"dev": [
"pytest",
"coverage",
"tox",
"sphinx",
"pallets-sphinx-themes",
"sphinxcontrib-log-cabinet",
"sphinx-issues",
],
2018-02-06 08:03:09 -08:00
},
2010-04-06 13:23:18 +02:00
)