diff --git a/setup.py b/setup.py index 9ebff734..f3b0930e 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,9 @@ author_email="info@scrapy.org", url="https://github.com/scrapy/w3lib", packages=find_packages(exclude=("tests", "tests.*")), + package_data={ + "w3lib": ["py.typed"], + }, include_package_data=True, zip_safe=False, platforms=["Any"], diff --git a/w3lib/py.typed b/w3lib/py.typed new file mode 100644 index 00000000..e69de29b