Skip to content
Myr

pyproject.toml

This file

Path

pyproject.toml

74 lines · 1.6 KiB · TOML

Last changed by

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

History of this file

Take it

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 1–4why, one step back
1[project]
2name = "click"3description = "Composable command line interface toolkit"4readme = "README.rst"

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

line 5why, one step back
5license = {file = "LICENSE.rst"}

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 6–29why, one step back
6maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
7classifiers = [8 "Development Status :: 5 - Production/Stable",9 "Intended Audience :: Developers",10 "License :: OSI Approved :: BSD License",11 "Operating System :: OS Independent",12 "Programming Language :: Python",13]14requires-python = ">=3.7"15dependencies = [16 "colorama; platform_system == 'Windows'",17 "importlib-metadata; python_version < '3.8'",18]19dynamic = ["version"]2021[project.urls]22Donate = "https://palletsprojects.com/donate"23Documentation = "https://click.palletsprojects.com/"24Changes = "https://click.palletsprojects.com/changes/"25"Source Code" = "https://github.com/pallets/click/"26"Issue Tracker" = "https://github.com/pallets/click/issues/"27Chat = "https://discord.gg/pallets"2829[build-system]

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

lines 30–31why, one step back
30requires = ["flit_core<4"]
31build-backend = "flit_core.buildapi"

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

line 32why, one step back
32

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

lines 33–47why, one step back
33[tool.flit.module]
34name = "click"3536[tool.flit.sdist]37include = [38 "docs/",39 "examples/",40 "requirements/",41 "tests/",42 "CHANGES.rst",43 "tox.ini",44]45exclude = [46 "docs/_build/",47]

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 48–74why, one step back
48
49[tool.pytest.ini_options]50testpaths = ["tests"]51filterwarnings = ["error"]5253[tool.coverage.run]54branch = true55source = ["click", "tests"]5657[tool.coverage.paths]58source = ["src", "*/site-packages"]5960[tool.mypy]61python_version = "3.7"62files = ["src/click"]63show_error_codes = true64pretty = true65strict = true66local_partial_types = true67warn_unreachable = true6869[[tool.mypy.overrides]]70module = [71 "colorama.*",72 "importlib_metadata.*"73]74ignore_missing_imports = true