Skip to content

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

scrapy/command.py shim

Julia Medinacfd40ed57f4e
diff --git a/conftest.py b/conftest.py
index 70147dcf4..3a8bebd39 100644
--- a/conftest.py
+++ b/conftest.py
@@ -16,6 +16,7 @@ collect_ignore = [
"scrapy/squeue.py",
"scrapy/log.py",
"scrapy/dupefilter.py",
+ "scrapy/command.py",
] + _py_files("scrapy/contrib") + _py_files("scrapy/contrib_exp")
diff --git a/scrapy/command.py b/scrapy/command.py
new file mode 100644
index 000000000..3e1219bbc
--- /dev/null
+++ b/scrapy/command.py
@@ -0,0 +1,7 @@
+import warnings
+from scrapy.exceptions import ScrapyDeprecationWarning
+warnings.warn("Module `scrapy.command` is deprecated, "
+ "use `scrapy.commands` instead",
+ ScrapyDeprecationWarning, stacklevel=2)
+
+from scrapy.commands import *