This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new 9f66ae620 PROTON-2848: [Python] Add py.typed marker to package for PEP
561
9f66ae620 is described below
commit 9f66ae6203ac98dc6b98c13b7d061ac45689f063
Author: Patrick Taibel <[email protected]>
AuthorDate: Wed Sep 4 11:21:57 2024 +0200
PROTON-2848: [Python] Add py.typed marker to package for PEP 561
---
python/CMakeLists.txt | 1 +
python/proton/py.typed | 0
python/pyproject.toml | 3 +++
3 files changed, 4 insertions(+)
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"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]