diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 131f3af57..d9a3e4568 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -62,6 +62,7 @@ set(py_dist_files docs/index.rst docs/overview.rst docs/tutorial.rst + proton/py.typed ) # Sphinx documentation diff --git a/python/proton/py.typed b/python/proton/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/python/pyproject.toml b/python/pyproject.toml index 88e2e3ea2..92b02326f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -57,3 +57,6 @@ py-modules = ["cproton"] [tool.setuptools.dynamic] version = {file = "VERSION.txt"} + +[tool.setuptools.package-data] +"proton" = ["py.typed"]