switch to flit build backend (#1863)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by GitHub · parents fed2d08, 8310b2b · Browse files · 5 files·+19 added−26 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+19 added−26 removed
- other:+19 added−26 removed
Provenance
- Commit
534c9e1- Tree
0c69696- Author
David Lord <davidism@gmail.com>- Committer
GitHub <noreply@github.com>- Parent 1
fed2d08- Parent 2
8310b2b
5 files changed+19 added−26 removed
modified:.github/workflows/tests.yaml-5 removed
39 unmodified lines404142434445464748444546474 unmodified lines39 unmodified lines with: python-version: ${{ matrix.python }} cache: 'pip' cache-dependency-path: 'requirements/*.txt' - name: update pip run: | pip install -U wheel pip install -U setuptools python -m pip install -U pip - name: cache mypy uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: ./.mypy_cache4 unmodified linesmodified:CHANGES.rst+1 added
5 unmodified lines6 Unreleased7 8 - Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``.9 :pr:`1793`10+- Use ``flit_core`` instead of ``setuptools`` as build backend.11 12 13 Version 3.1.314 -------------980 unmodified linesmodified:CONTRIBUTING.rst-6 removed
105 unmodified lines106 .. code-block:: text107 108 > env\Scripts\activate109 110-- Upgrade pip and setuptools.111-112- .. code-block:: text113-114- $ python -m pip install --upgrade pip setuptools115-110 - Install the development dependencies, then install Jinja in editable111 mode.112 113 .. code-block:: text103 unmodified linesdeleted:MANIFEST.in-10 removed
1-include CHANGES.rst2-include tox.ini3-include requirements/*.txt4-graft artwork5-graft docs6-prune docs/_build7-graft examples8-graft tests9-include src/jinja2/py.typed10-global-exclude *.pycmodified:pyproject.toml+18 added-5 removed
123455678921 unmodified lines3132333435363536373839383940414243444546474849505152535455565724 unmodified lines[project]name = "Jinja2"description = "A very fast and expressive template engine."readme = "README.rst"license = {text = "BSD-3-Clause"}license = {file = "LICENSE.rst"}maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment",21 unmodified lines
[project.entry-points."babel.extractors"]
[build-system]requires = ["setuptools"]build-backend = "setuptools.build_meta"requires = ["flit_core<4"]build-backend = "flit_core.buildapi"
[tool.setuptools.dynamic]version = {attr = "jinja2.__version__"}[tool.flit.module]name = "jinja2"
[tool.flit.sdist]include = [ "docs/", "examples/", "requirements/", "tests/", "CHANGES.rst", "tox.ini",]exclude = [ "docs/_build/",]
[tool.pytest.ini_options]testpaths = ["tests"]filterwarnings = [ "error",24 unmodified lines