Skip to content
Myr

Merge pull request #3922 from pallets/consistency

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

various cleanup for consistency between projects

authored by David Lord · committed by GitHub · parents aee3f3f, 0c7cbe2 · Browse files · 11 files+44 added−35 removed
This commit

State

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

Diff stats

11 files+44 added−35 removed

  • other:+44 added−35 removed

11 files+44 added−35 removed

modified:.github/workflows/tests.yaml+8 added-1 removed
deleted:docs/changelog.rst-4 removed
1Changes2=======34.. include:: ../CHANGES.rst
added:docs/changes.rst+4 added
1Changes2=======34.. include:: ../CHANGES.rst
modified:docs/conf.py+5 added-3 removed
36 unmodified lines
37html_theme = "flask"38html_theme_options = {"index_sidebar_logo": False}39html_context = {40 "project_links": [41 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),42 ProjectLink("Flask Website", "https://palletsprojects.com/p/flask/"),43 ProjectLink("PyPI releases", "https://pypi.org/project/Flask/"),41 ProjectLink("Donate", "https://palletsprojects.com/donate"),42 ProjectLink("PyPI Releases", "https://pypi.org/project/Flask/"),43 ProjectLink("Source Code", "https://github.com/pallets/flask/"),44 ProjectLink("Issue Tracker", "https://github.com/pallets/flask/issues/"),45 ProjectLink("Website", "https://palletsprojects.com/p/flask/"),46 ProjectLink("Twitter", "https://twitter.com/PalletsTeam"),47 ProjectLink("Chat", "https://discord.gg/pallets"),48 ]49}50html_sidebars = {51 "index": ["project.html", "localtoc.html", "searchbox.html"],
46 unmodified lines
modified:docs/index.rst+2 added-2 removed
83 unmodified lines
84 design85 htmlfaq86 security87 extensiondev88 changelog89 license88 contributing89 license90 changes
modified:docs/license.rst+2 added-2 removed
1License2=======34Source License5--------------4BSD-3-Clause Source License5---------------------------67The BSD-3-Clause license applies to all files in the Flask repository8and source distribution. This includes Flask's source code, the9examples, and tests, as well as the documentation.
10 unmodified lines
modified:.readthedocs.yaml+1 added
modified:MANIFEST.in-1 removed
1include CHANGES.rst2include CONTRIBUTING.rst3include LICENSE.rst3include tox.ini4include requirements/*.txt5graft artwork6graft docs
4 unmodified lines
modified:README.rst+15 added-13 removed
10 unmodified lines
11project layout. It is up to the developer to choose the tools and12libraries they want to use. There are many extensions provided by the13community that make adding new functionality easy.1415.. _WSGI: https://wsgi.readthedocs.io/16.. _Werkzeug: https://werkzeug.palletsprojects.com/17.. _Jinja: https://jinja.palletsprojects.com/181920Installing21----------2223Install and update using `pip`_:
1 unmodified line
25.. code-block:: text2627 $ pip install -U Flask2829.. _pip: https://pip.pypa.io/en/stable/quickstart/303132A Simple Example33----------------3435.. code-block:: python
29 unmodified lines
65it uses. In order to grow the community of contributors and users, and66allow the maintainers to devote more time to the projects, `please67donate today`_.6863.. _please donate today: https://psfmember.org/civicrm/contribute/transact?reset=1&id=2069.. _please donate today: https://palletsprojects.com/donate707172Links73-----7469* Website: https://palletsprojects.com/p/flask/70* Documentation: https://flask.palletsprojects.com/71* Releases: https://pypi.org/project/Flask/72* Code: https://github.com/pallets/flask73* Issue tracker: https://github.com/pallets/flask/issues74* Test status: https://dev.azure.com/pallets/flask/_build75* Official chat: https://discord.gg/pallets7677.. _WSGI: https://wsgi.readthedocs.io78.. _Werkzeug: https://www.palletsprojects.com/p/werkzeug/79.. _Jinja: https://www.palletsprojects.com/p/jinja/80.. _pip: https://pip.pypa.io/en/stable/quickstart/75- Documentation: https://flask.palletsprojects.com/76- Changes: https://flask.palletsprojects.com/changes/77- PyPI Releases: https://pypi.org/project/Flask/78- Source Code: https://github.com/pallets/flask/79- Issue Tracker: https://github.com/pallets/flask/issues/80- Website: https://palletsprojects.com/p/flask/81- Twitter: https://twitter.com/PalletsTeam82- Chat: https://discord.gg/pallets
modified:setup.cfg+7 added-3 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/7 Code = https://github.com/pallets/flask8 Issue tracker = https://github.com/pallets/flask/issues8 Changes = https://flask.palletsprojects.com/changes/9 Source Code = https://github.com/pallets/flask/10 Issue Tracker = https://github.com/pallets/flask/issues/11 Twitter = https://twitter.com/PalletsTeam12 Chat = https://discord.gg/pallets13license = BSD-3-Clause14author = Armin Ronacher15author_email = armin.ronacher@active-4.com16maintainer = Pallets
71 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