Skip to content

Commit

Permalink
Fix py.typed not being included in distribution (getsentry#385)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bluetech authored and untitaker committed Jun 5, 2019
1 parent 64ca9a9 commit 56b6da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include LICENSE
include sentry_sdk/py.typed
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
long_description=__doc__,
packages=find_packages(exclude=("tests", "tests.*")),
# PEP 561
package_data={"typedpkg": ["py.typed"]},
package_data={"sentry_sdk": ["py.typed"]},
zip_safe=False,
license="BSD",
install_requires=["urllib3", "certifi"],
Expand Down

0 comments on commit 56b6da7

Please sign in to comment.