From 44d7fc6483485102f60c91d591d0d697872f8865 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 13 Feb 2023 18:39:21 -0600 Subject: [PATCH] fix: missing c extensions with newer poetry (#1129) --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index da05300a..4a1a670a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ classifiers=[ 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] -build = "build_ext.py" packages = [ { include = "zeroconf", from = "src" }, ] @@ -33,6 +32,10 @@ packages = [ "Bug Tracker" = "https://github.com/python-zeroconf/python-zeroconf/issues" "Changelog" = "https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md" +[tool.poetry.build] +generate-setup-file = true +script = "build_ext.py" + [tool.semantic_release] branch = "master" version_toml = "pyproject.toml:tool.poetry.version"