From c7a5ce7dff1cbb64b6f9485de2bb4a384526304a Mon Sep 17 00:00:00 2001 From: "Andrew M. White" Date: Tue, 6 Aug 2019 10:18:34 -0700 Subject: [PATCH] Enable mypy to discover type hints as specified in PEP 561 (#194) --- httpx/py.typed | 0 setup.py | 1 + 2 files changed, 1 insertion(+) create mode 100644 httpx/py.typed diff --git a/httpx/py.typed b/httpx/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index 2045210a..19e4dc31 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ setup( long_description_content_type="text/markdown", author="Tom Christie", author_email="tom@tomchristie.com", + package_data={"httpx": ["py.typed"]}, packages=get_packages("httpx"), install_requires=[ "certifi",