Skip to content

Commit 00469fb

Browse files
WIP: Try to init scaffolding according to a github commit
This one: python-poetry/poetry#2740 (comment)
1 parent 346dfdd commit 00469fb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def build(setup_kwargs):
2+
print("Put your build code here!")

pyproject.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = "^3.9"
1010

11+
[tool.poetry.build]
12+
script = "build.py"
13+
generate-setup-file = true
1114

1215
[build-system]
13-
requires = ["poetry-core"]
14-
build-backend = "poetry.core.masonry.api"
16+
requires = ["poetry-core", "setuptools"]

0 commit comments

Comments
 (0)