Skip to content

Commit 3c9bbcc

Browse files
authored
Merge pull request #658 from per1234/build-system
Remove superfluous `build-system` section from Python project file
2 parents f1d8424 + dfcca84 commit 3c9bbcc

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,3 @@ optional = true
2424

2525
[tool.poetry.group.pipx.dependencies]
2626
poetry = "2.1.3"
27-
28-
[build-system]
29-
requires = ["poetry-core>=1.0.0"]
30-
build-backend = "poetry.core.masonry.api"

workflow-templates/assets/poetry/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ No configuration is needed.
2222
```toml
2323
package-mode = false
2424
```
25+
1. Add a `build-system` section to the `pyproject.toml` file:<br />
26+
https://python-poetry.org/docs/pyproject/#poetry-and-pep-517
2527
1. Define the package metadata under the `tool.poetry` section of the `pyproject.toml` file:<br />
2628
https://python-poetry.org/docs/pyproject#the-toolpoetry-section

workflow-templates/assets/poetry/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry/pyproject.toml
22

3-
[build-system]
4-
requires = ["poetry-core>=1.0.0"]
5-
build-backend = "poetry.core.masonry.api"
6-
73
[tool.poetry]
84
package-mode = false
95

0 commit comments

Comments
 (0)