From: Andrew M. White Date: Tue, 6 Aug 2019 17:18:34 +0000 (-0700) Subject: Enable mypy to discover type hints as specified in PEP 561 (#194) X-Git-Tag: 0.7.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a5ce7dff1cbb64b6f9485de2bb4a384526304a;p=thirdparty%2Fhttpx.git Enable mypy to discover type hints as specified in PEP 561 (#194) --- 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",