Python pyproject.toml: Difference between revisions
From wikinotes
Line 2: | Line 2: | ||
<blockquote> | <blockquote> | ||
{| class="wikitable" | {| class="wikitable" | ||
| PEP-517 (execute build tools) || https://peps.python.org/pep-0517/ | |||
|- | |- | ||
| PEP-518 || https:// | | PEP-518 (specify build tools) || https://peps.python.org/pep-0518/ | ||
|- | |- | ||
|} | |} |
Revision as of 23:17, 14 February 2024
Documentation
PEP-517 (execute build tools) https://peps.python.org/pep-0517/ PEP-518 (specify build tools) https://peps.python.org/pep-0518/
Tutorials
pyproject.toml basics https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/ what is pyproject.toml https://snarky.ca/what-the-heck-is-pyproject-toml/
Locations
${PROJECT}/pyproject.toml
project config
Syntax
Common Configs
unittest
pytest
# pyproject.toml [tool.pytest.ini_options] python_files = *.py testpaths = ["tests/unit", "tests/integration"] norecursedirs = tests/integration/resources