Pyproject.toml: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
<code>pyproject.toml</code> tells the [[Python_Language_Modularization#Build_Frontend|build frontend]] tool which [[Python_Language_Modularization#Build_Backend|backend]] to use for the specific project it is part of. | <code>pyproject.toml</code> tells the [[Python_Language_Modularization#Build_Frontend|build frontend]] tool which [[Python_Language_Modularization#Build_Backend|backend]] to use for the specific project it is part of. | ||
<syntaxhighlight lang=' | <syntaxhighlight lang='toml'> | ||
[build-system] | [build-system] | ||
requires = ["hatchling"] | requires = ["hatchling"] |
Revision as of 02:12, 6 April 2024
External
Internal
Overview
pyproject.toml
is a file that specifies required packages, scripts, plugins and URLs.
Build Backend Configuration
pyproject.toml
tells the build frontend tool which backend to use for the specific project it is part of.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"