Skip to content
Myr

move package metadata 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 171aabc · Browse files · 14 files+142 added−151 removed
This commit

State

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

Diff stats

14 files+142 added−151 removed

  • other:+142 added−151 removed

14 files+142 added−151 removed

deleted:examples/javascript/LICENSE-31 removed
1Copyright © 2010 by the Pallets team.23Some rights reserved.45Redistribution and use in source and binary forms of the software as6well as documentation, with or without modification, are permitted7provided that the following conditions are met:89* Redistributions of source code must retain the above copyright notice,10 this list of conditions and the following disclaimer.1112* Redistributions in binary form must reproduce the above copyright13 notice, this list of conditions and the following disclaimer in the14 documentation and/or other materials provided with the distribution.1516* Neither the name of the copyright holder nor the names of its17 contributors may be used to endorse or promote products derived from18 this software without specific prior written permission.1920THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND21CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,22BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND23FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE24COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,25INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT26NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF27USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON28ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF30THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF31SUCH DAMAGE.
added:examples/javascript/LICENSE.rst+28 added
1Copyright 2010 Pallets23Redistribution and use in source and binary forms, with or without4modification, are permitted provided that the following conditions are5met:671. Redistributions of source code must retain the above copyright8 notice, this list of conditions and the following disclaimer.9102. Redistributions in binary form must reproduce the above copyright11 notice, this list of conditions and the following disclaimer in the12 documentation and/or other materials provided with the distribution.13143. Neither the name of the copyright holder nor the names of its15 contributors may be used to endorse or promote products derived from16 this software without specific prior written permission.1718THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A21PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED24TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR25PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF26LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING27NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS28SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
modified:examples/javascript/MANIFEST.in+1 added-1 removed
1include LICENSE1include LICENSE.rst2graft js_example/templates3graft tests4global-exclude *.pyc
modified:examples/javascript/setup.cfg+19 added-3 removed
1[metadata]2license_file = LICENSE2name = js_example3version = 1.0.04url = https://flask.palletsprojects.com/patterns/jquery/5license = BSD-3-Clause6maintainer = Pallets7maintainer_email = contact@palletsprojects.com8description = Demonstrates making AJAX requests to Flask.9long_description = file: README.rst10long_description_content_type = text/x-rst114[bdist_wheel]5universal = True12[options]13packages = find:14include_package_data = true15install_requires =16 Flask1718[options.extras_require]19test =20 pytest21 blinker2223[tool:pytest]24testpaths = tests2526[coverage:run]
3 unmodified lines
modified:examples/javascript/setup.py+1 added-19 removed
1from setuptools import find_packages1from setuptools import setup24with open("README.rst", encoding="utf8") as f:5 readme = f.read()67setup(3setup()8 name="js_example",9 version="1.0.0",10 url="https://flask.palletsprojects.com/patterns/jquery/",11 license="BSD",12 maintainer="Pallets team",13 maintainer_email="contact@palletsprojects.com",14 description="Demonstrates making Ajax requests to Flask.",15 long_description=readme,16 packages=find_packages(),17 include_package_data=True,18 zip_safe=False,19 install_requires=["flask"],20 extras_require={"test": ["pytest", "coverage", "blinker"]},21)
deleted:examples/tutorial/LICENSE-31 removed
1Copyright © 2010 by the Pallets team.23Some rights reserved.45Redistribution and use in source and binary forms of the software as6well as documentation, with or without modification, are permitted7provided that the following conditions are met:89* Redistributions of source code must retain the above copyright notice,10 this list of conditions and the following disclaimer.1112* Redistributions in binary form must reproduce the above copyright13 notice, this list of conditions and the following disclaimer in the14 documentation and/or other materials provided with the distribution.1516* Neither the name of the copyright holder nor the names of its17 contributors may be used to endorse or promote products derived from18 this software without specific prior written permission.1920THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND21CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,22BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND23FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE24COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,25INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT26NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF27USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON28ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF30THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF31SUCH DAMAGE.
added:examples/tutorial/LICENSE.rst+28 added
1Copyright 2010 Pallets23Redistribution and use in source and binary forms, with or without4modification, are permitted provided that the following conditions are5met:671. Redistributions of source code must retain the above copyright8 notice, this list of conditions and the following disclaimer.9102. Redistributions in binary form must reproduce the above copyright11 notice, this list of conditions and the following disclaimer in the12 documentation and/or other materials provided with the distribution.13143. Neither the name of the copyright holder nor the names of its15 contributors may be used to endorse or promote products derived from16 this software without specific prior written permission.1718THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A21PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED24TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR25PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF26LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING27NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS28SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
modified:examples/tutorial/MANIFEST.in+1 added-1 removed
1include LICENSE1include LICENSE.rst2include flaskr/schema.sql3graft flaskr/static4graft flaskr/templates5graft tests
1 unmodified line
modified:examples/tutorial/setup.cfg+18 added-3 removed
1[metadata]2license_file = LICENSE2name = flaskr3version = 1.0.04url = https://flask.palletsprojects.com/tutorial/5license = BSD-3-Clause6maintainer = Pallets7maintainer_email = contact@palletsprojects.com8description = The basic blog app built in the Flask tutorial.9long_description = file: README.rst10long_description_content_type = text/x-rst114[bdist_wheel]5universal = True12[options]13packages = find:14include_package_data = true15install_requires =16 Flask1718[options.extras_require]19test =20 pytest2122[tool:pytest]23testpaths = tests2425[coverage:run]
3 unmodified lines
modified:examples/tutorial/setup.py+1 added-19 removed
1from setuptools import find_packages1from setuptools import setup24with open("README.rst", encoding="utf8") as f:5 readme = f.read()67setup(3setup()8 name="flaskr",9 version="1.0.0",10 url="https://flask.palletsprojects.com/tutorial/",11 license="BSD",12 maintainer="Pallets team",13 maintainer_email="contact@palletsprojects.com",14 description="The basic blog app built in the Flask tutorial.",15 long_description=readme,16 packages=find_packages(),17 include_package_data=True,18 zip_safe=False,19 install_requires=["flask"],20 extras_require={"test": ["pytest", "coverage"]},21)
modified:src/flask/__init__.py+2 added-2 removed
1from jinja2 import escape2from jinja2 import Markup1from markupsafe import escape2from markupsafe import Markup3from werkzeug.exceptions import abort4from werkzeug.utils import redirect56from . import json
40 unmodified lines
modified:MANIFEST.in+1 added
1include CHANGES.rst2include CONTRIBUTING.rst3include LICENSE.rst4include tox.ini5graft artwork6graft docs7prune docs/_build
3 unmodified lines
modified:setup.cfg+41 added
1[metadata]2name = Flask3# Version needs regex in setup.py.4url = https://palletsprojects.com/p/flask5project_urls =6 Documentation = https://flask.palletsprojects.com/7 Code = https://github.com/pallets/flask8 Issue tracker = https://github.com/pallets/flask/issues9license = BSD-3-Clause10maintainer = Pallets11maintainer_email = contact@palletsprojects.com12description = A simple framework for building complex web applications.13long_description = file: README.rst14long_description_content_type = text/x-rst15classifiers =16 Development Status :: 5 - Production/Stable17 Environment :: Web Environment18 Framework :: Flask19 Intended Audience :: Developers20 License :: OSI Approved :: BSD License21 Operating System :: OS Independent22 Programming Language :: Python23 Topic :: Internet :: WWW/HTTP :: Dynamic Content24 Topic :: Internet :: WWW/HTTP :: WSGI25 Topic :: Internet :: WWW/HTTP :: WSGI :: Application26 Topic :: Software Development :: Libraries :: Application Frameworks2728[options]29packages = find:30package_dir = = src31include_package_data = true32python_requires = >= 3.633# Dependencies are in setup.py for GitHub's dependency graph.3435[options.packages.find]36where = src3738[options.entry_points]39console_scripts =40 flask = flask.cli:main4142[tool:pytest]43testpaths = tests44filterwarnings =45 error
36 unmodified lines
modified:setup.py+1 added-41 removed
1import re23from setuptools import find_packages3from setuptools import setup46with open("README.rst", encoding="utf8") as f:7 readme = f.read()85with 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,15 url="https://palletsprojects.com/p/flask/",16 project_urls={17 "Documentation": "https://flask.palletsprojects.com/",18 "Code": "https://github.com/pallets/flask",19 "Issue tracker": "https://github.com/pallets/flask/issues",20 },21 license="BSD-3-Clause",22 author="Armin Ronacher",23 author_email="armin.ronacher@active-4.com",24 maintainer="Pallets",25 maintainer_email="contact@palletsprojects.com",26 description="A simple framework for building complex web applications.",27 long_description=readme,28 classifiers=[29 "Development Status :: 5 - Production/Stable",30 "Environment :: Web Environment",31 "Framework :: Flask",32 "Intended Audience :: Developers",33 "License :: OSI Approved :: BSD License",34 "Operating System :: OS Independent",35 "Programming Language :: Python",36 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",37 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",38 "Topic :: Software Development :: Libraries :: Application Frameworks",39 "Topic :: Software Development :: Libraries :: Python Modules",40 ],41 packages=find_packages("src"),42 package_dir={"": "src"},43 include_package_data=True,44 python_requires=">=3.6",12 install_requires=[13 "Werkzeug>=0.15",14 "Jinja2>=2.10.1",15 "itsdangerous>=0.24",
9 unmodified lines
25 "pallets-sphinx-themes",26 "sphinxcontrib-log-cabinet",27 "sphinx-issues",28 ],62 "docs": [63 "sphinx",64 "pallets-sphinx-themes",65 "sphinxcontrib-log-cabinet",66 "sphinx-issues",67 ],29 },69 entry_points={"console_scripts": ["flask = flask.cli:main"]},30)