diff --git a/pyproject.toml b/pyproject.toml index c620da12..7aeb4ff4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,12 @@ classifiers=[ packages = [ { include = "zeroconf", from = "src" }, ] +include = [ + { format = "sdist", path = "COPYING" }, + { format = "sdist", path = "CHANGELOG.md" }, + { format = "sdist", path = "docs" }, + { format = "sdist", path = "tests" }, +] # Make sure we don't package temporary C files generated by the build process exclude = [ "**/*.c" ] diff --git a/src/zeroconf/_listener.pxd b/src/zeroconf/_listener.pxd index 77df2dd3..9c8ff3c8 100644 --- a/src/zeroconf/_listener.pxd +++ b/src/zeroconf/_listener.pxd @@ -60,11 +60,4 @@ cdef class AsyncListener: tuple v6_flow_scope ) - cpdef _respond_query( - self, - object msg, - object addr, - object port, - object transport, - tuple v6_flow_scope - ) + cpdef _respond_query(self, DNSIncoming msg, object addr, object port, object transport, tuple v6_flow_scope)