Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Add package_data={"scrapy": "py.typed"} to setup.py

Adrián Chavese84fb6d5cb15
diff --git a/setup.py b/setup.py
index 47c0af0b0..aff51b1cd 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ setup(
license="BSD",
packages=find_packages(exclude=("tests", "tests.*")),
include_package_data=True,
+ package_data={"scrapy": "py.typed"},
zip_safe=False,
entry_points={"console_scripts": ["scrapy = scrapy.cmdline:execute"]},
classifiers=[