setup.py
This file
Path
setup.py
30 lines · 714 bytes · Python
Last changed by
move package metadata to setup.cfgDavid Lordbefore adoption024f0d3
History of this fileTake it
1import re23from setuptools import setup45with open("src/flask/__init__.py", encoding="utf8") as f:6 version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)78# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.9setup(10 name="Flask",11 version=version,12 install_requires=[13 "Werkzeug>=0.15",14 "Jinja2>=2.10.1",15 "itsdangerous>=0.24",16 "click>=5.1",17 ],18 extras_require={19 "dotenv": ["python-dotenv"],20 "dev": [21 "pytest",22 "coverage",23 "tox",24 "sphinx",25 "pallets-sphinx-themes",26 "sphinxcontrib-log-cabinet",27 "sphinx-issues",28 ],29 },30)