diff --git a/pyproject.toml b/pyproject.toml index 7a5da875..a8db2e54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,11 +14,14 @@ classifiers = [ "Operating System :: OS Independent", "Topic :: Software Development :: Libraries", ] -build = "build_ext.py" packages = [ { include = "dbus_fast", from = "src" }, ] +[tool.poetry.build] +generate-setup-file = true +script = "build_ext.py" + [tool.poetry.urls] "Bug Tracker" = "https://github.com/bluetooth-devices/dbus-fast/issues" "Changelog" = "https://github.com/bluetooth-devices/dbus-fast/blob/main/CHANGELOG.md"