From c6a52d798e16a7e0e51edc0162fd41cefde2571a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 7 Aug 2019 17:18:25 -0700 Subject: [PATCH] zulip_bots, zulip_botserver: Add PEP 561 type annotation markers. Signed-off-by: Anders Kaseorg --- zulip_bots/setup.py | 3 ++- zulip_bots/zulip_bots/py.typed | 0 zulip_botserver/setup.py | 1 + zulip_botserver/zulip_botserver/py.typed | 0 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 zulip_bots/zulip_bots/py.typed create mode 100644 zulip_botserver/zulip_botserver/py.typed 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