From d7d4d312d9f7152b5ef1292477b6b143f4c5f698 Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Tue, 9 Aug 2022 16:38:53 +0500 Subject: [PATCH] Declare w3lib as providing type hints (#184) --- setup.py | 3 +++ w3lib/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 w3lib/py.typed 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