Skip to content

Commit

Permalink
PROTON-2848: [Python] Add py.typed marker to package for PEP 561
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickTaibel authored and astitcher committed Sep 11, 2024
1 parent dc1c39f commit 9f66ae6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ set(py_dist_files
docs/index.rst
docs/overview.rst
docs/tutorial.rst
proton/py.typed
)

# Sphinx documentation
Expand Down
Empty file added python/proton/py.typed
Empty file.
3 changes: 3 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ py-modules = ["cproton"]

[tool.setuptools.dynamic]
version = {file = "VERSION.txt"}

[tool.setuptools.package-data]
"proton" = ["py.typed"]

0 comments on commit 9f66ae6

Please sign in to comment.