Skip to content

Commit 56b6da7

Browse files
bluetechuntitaker
authored andcommitted
Fix py.typed not being included in distribution (getsentry#385)
The `typedpkg` example in the PEP is a little misleading unfortunately. I tested that it is now properly included and properly picked up by mypy.
1 parent 64ca9a9 commit 56b6da7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
include LICENSE
2+
include sentry_sdk/py.typed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
long_description=__doc__,
2121
packages=find_packages(exclude=("tests", "tests.*")),
2222
# PEP 561
23-
package_data={"typedpkg": ["py.typed"]},
23+
package_data={"sentry_sdk": ["py.typed"]},
2424
zip_safe=False,
2525
license="BSD",
2626
install_requires=["urllib3", "certifi"],

0 commit comments

Comments
 (0)