From bfe923658c82e7450d39fc17dd72f32a10e31296 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki Date: Tue, 21 Nov 2023 14:21:31 -0800 Subject: [PATCH] Distribute py.typed to utilize the annotated types This is needed for the library users to use the annotated types. See https://peps.python.org/pep-0561/#packaging-type-information for details. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index b87480f..a6fe6da 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ maintainer_email="hey@posthog.com", test_suite="posthog.test.all", packages=["posthog", "posthog.test", "posthog.sentry"], + package_data={"posthog": ["py.typed"]}, license="MIT License", install_requires=install_requires, extras_require=extras_require,