Skip to content

Commit c5cafcc

Browse files
authored
Include py.typed when packaging. (#338)
* Include py.typed when packaging. * Update changelog
1 parent 89e95c9 commit c5cafcc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
### Packaging
5+
- Include `py.typed` when packaging to denote that setuptools-rust includes type hints. [#338](https://github.com/PyO3/setuptools-rust/pull/338)
6+
37
## 1.6.0 (2023-04-27)
48
### Changed
59
- Prefer passing `--crate-type` option to cargo if "toolchain >= 1.64". [#322](https://github.com/PyO3/setuptools-rust/pull/322)

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ addopts = "--doctest-modules"
5656
[tool.setuptools]
5757
packages = ["setuptools_rust"]
5858
zip-safe = true
59+
60+
[tool.setuptools.package-data]
61+
setuptools_rust = ["py.typed"]

0 commit comments

Comments
 (0)