fix: missing c extensions with newer poetry (#1129) · python-zeroconf/python-zeroconf@44d7fc6

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"