Add py.typed file to signal types are defined inline
MODIFY
MANIFEST.in
MANIFEST.in
-include README.rst CHANGES.rst LICENSE.txt dev-requirements.txt Makefile
+include README.rst CHANGES.rst LICENSE.txt dev-requirements.txt Makefile src/urllib3/py.typed
recursive-include dummyserver *
recursive-include test *
recursive-include docs *

MODIFY
setup.py
setup.py
@@ -104,6 +104,9 @@ setup(
"urllib3.contrib._securetransport",
"urllib3.util",
],
+ package_data={
+ "urllib3": ["py.typed"],
+ },
package_dir={"": "src"},
requires=[],
python_requires=">=3.6, <4",

ADD
src/urllib3/py.typed
+# Instruct type checkers to look for inline type annotations in this package.
+# See PEP 561.

Add py.typed file to signal types are defined inline