Skip to content

Commit 1fa36c2

Browse files
authored
Force Poetry setup file (#271)
1 parent ae9038c commit 1fa36c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ exclude = ["temporalio/bridge/**/target"]
2020
# support this script in a subdirectory like scripts/.
2121
[tool.poetry.build]
2222
script = "build.py"
23+
# In https://github.com/python-poetry/poetry-core/pull/318, Poetry stopped using
24+
# a setup file, but we are using setuptools Rust manually in our build.py which
25+
# needs a setup file.
26+
# TODO(cretz): Find a way to not require a setup file since that is going away
27+
# at some point in Poetry. Revisit Maturin or fine some other approach.
28+
generate-setup-file = true
2329

2430
[tool.poetry.urls]
2531
"Bug Tracker" = "https://github.com/temporalio/sdk-python/issues"

0 commit comments

Comments
 (0)