diff --git a/pyproject.toml b/pyproject.toml index dfc2b8f1..386d2a7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,3 @@ optional = true [tool.poetry.group.pipx.dependencies] poetry = "2.1.3" - -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" diff --git a/workflow-templates/assets/poetry/README.md b/workflow-templates/assets/poetry/README.md index d280df89..bbe2982a 100644 --- a/workflow-templates/assets/poetry/README.md +++ b/workflow-templates/assets/poetry/README.md @@ -22,5 +22,7 @@ No configuration is needed. ```toml package-mode = false ``` +1. Add a `build-system` section to the `pyproject.toml` file:
+ https://python-poetry.org/docs/pyproject/#poetry-and-pep-517 1. Define the package metadata under the `tool.poetry` section of the `pyproject.toml` file:
https://python-poetry.org/docs/pyproject#the-toolpoetry-section diff --git a/workflow-templates/assets/poetry/pyproject.toml b/workflow-templates/assets/poetry/pyproject.toml index 7b3ec183..5db1fcca 100644 --- a/workflow-templates/assets/poetry/pyproject.toml +++ b/workflow-templates/assets/poetry/pyproject.toml @@ -1,9 +1,5 @@ # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry/pyproject.toml -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - [tool.poetry] package-mode = false