Skip to content

Commit 44d7fc6

Browse files
authored
fix: missing c extensions with newer poetry (#1129)
1 parent 961c406 commit 44d7fc6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers=[
2424
'Programming Language :: Python :: Implementation :: CPython',
2525
'Programming Language :: Python :: Implementation :: PyPy',
2626
]
27-
build = "build_ext.py"
2827
packages = [
2928
{ include = "zeroconf", from = "src" },
3029
]
@@ -33,6 +32,10 @@ packages = [
3332
"Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues"
3433
"Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md"
3534

35+
[tool.poetry.build]
36+
generate-setup-file = true
37+
script = "build_ext.py"
38+
3639
[tool.semantic_release]
3740
branch = "master"
3841
version_toml = "pyproject.toml:tool.poetry.version"

0 commit comments

Comments
 (0)