diff --git a/zulip_bots/setup.py b/zulip_bots/setup.py index 207d43c..488612d 100644 --- a/zulip_bots/setup.py +++ b/zulip_bots/setup.py @@ -15,7 +15,8 @@ IS_PYPA_PACKAGE = False package_data = { - '': ['doc.md', '*.conf', 'assets/*'] + '': ['doc.md', '*.conf', 'assets/*'], + 'zulip_bots': ['py.typed'], } # IS_PYPA_PACKAGE is set to True by tools/release-packages diff --git a/zulip_bots/zulip_bots/py.typed b/zulip_bots/zulip_bots/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/zulip_botserver/setup.py b/zulip_botserver/setup.py index abeb300..fdb240f 100644 --- a/zulip_botserver/setup.py +++ b/zulip_botserver/setup.py @@ -30,6 +30,7 @@ package_info = dict( ], }, test_suite='tests', + package_data={'zulip_botserver': ['py.typed']}, ) # type: Dict[str, Any] setuptools_info = dict( diff --git a/zulip_botserver/zulip_botserver/py.typed b/zulip_botserver/zulip_botserver/py.typed new file mode 100644 index 0000000..e69de29