switch to flit build backend
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 2de3b31 · 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
1989ac2- Tree
b3131ee- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
2de3b31
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:`326`10+- Use ``flit_core`` instead of ``setuptools`` as build backend.11 12 13 Version 8.1.414 -------------1052 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 Click in111 editable 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/click/py.typed10-global-exclude *.pycmodified:pyproject.toml+18 added-5 removed
123455678916 unmodified lines2627282930313031323334333435363738394041424344454647484950515222 unmodified lines[project]name = "click"description = "Composable command line interface toolkit"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", "Intended Audience :: Developers",16 unmodified lines"Issue Tracker" = "https://github.com/pallets/click/issues/"Chat = "https://discord.gg/pallets"
[build-system]requires = ["setuptools"]build-backend = "setuptools.build_meta"requires = ["flit_core<4"]build-backend = "flit_core.buildapi"
[tool.setuptools.dynamic]version = {attr = "click.__version__"}[tool.flit.module]name = "click"
[tool.flit.sdist]include = [ "docs/", "examples/", "requirements/", "tests/", "CHANGES.rst", "tox.ini",]exclude = [ "docs/_build/",]
[tool.pytest.ini_options]testpaths = ["tests"]filterwarnings = ["error"]
22 unmodified lines