Skip to content
Myr

move version to setup.cfg

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 9e7d3a6 · Browse files · 2 files+1 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−7 removed

  • other:+1 added−7 removed

2 files+1 added−7 removed

modified:setup.cfg+1 added-1 removed
1[metadata]2name = Flask3# Version needs regex in setup.py.3version = attr: flask.__version__4url = https://palletsprojects.com/p/flask5project_urls =6 Donate = https://palletsprojects.com/donate7 Documentation = https://flask.palletsprojects.com/
80 unmodified lines
modified:setup.py-6 removed
1import re21from setuptools import setup25with open("src/flask/__init__.py", encoding="utf8") as f:6 version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)73# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.4setup(5 name="Flask",11 version=version,6 install_requires=[7 "Werkzeug>=0.15",8 "Jinja2>=2.10.1",9 "itsdangerous>=0.24",
4 unmodified lines