Skip to content
Myr

pyproject.toml

This file

Path

pyproject.toml

72 lines · 1.6 KiB · TOML

Last changed by

deprecate `__version__` attribute (#2599)David Lordbefore adoptionb63ace2

History of this file

Take it

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

lines 1–2why, one step back
1[project]
2name = "click"

deprecate `__version__` attribute (#2599)David Lordbefore adoptionb63ace2

line 3why, one step back
3version = "8.2.0.dev"

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

lines 4–5why, one step back
4description = "Composable command line interface toolkit"
5readme = "README.rst"

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

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

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

lines 7–14why, one step back
7maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
8classifiers = [9 "Development Status :: 5 - Production/Stable",10 "Intended Audience :: Developers",11 "License :: OSI Approved :: BSD License",12 "Operating System :: OS Independent",13 "Programming Language :: Python",14]

drop support for python 3.7 (#2588)David Lordbefore adoptionf5e47a6

line 15why, one step back
15requires-python = ">=3.8"

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

lines 16–28why, one step back
16dependencies = [
17 "colorama; platform_system == 'Windows'",18]1920[project.urls]21Donate = "https://palletsprojects.com/donate"22Documentation = "https://click.palletsprojects.com/"23Changes = "https://click.palletsprojects.com/changes/"24"Source Code" = "https://github.com/pallets/click/"25"Issue Tracker" = "https://github.com/pallets/click/issues/"26Chat = "https://discord.gg/pallets"2728[build-system]

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

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

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

line 31why, one step back
31

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

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

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

lines 47–59why, one step back
47
48[tool.pytest.ini_options]49testpaths = ["tests"]50filterwarnings = ["error"]5152[tool.coverage.run]53branch = true54source = ["click", "tests"]5556[tool.coverage.paths]57source = ["src", "*/site-packages"]5859[tool.mypy]

drop support for python 3.7 (#2588)David Lordbefore adoptionf5e47a6

line 60why, one step back
60python_version = "3.8"

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

lines 61–72why, one step back
61files = ["src/click"]
62show_error_codes = true63pretty = true64strict = true65local_partial_types = true66warn_unreachable = true6768[[tool.mypy.overrides]]69module = [70 "colorama.*",71]72ignore_missing_imports = true