/usr/lib/python2.7/dist-packages/scrapy/project.py is in python-scrapy 0.24.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | """
--------- WARNING: THIS MODULE IS DEPRECATED -----------
This module is deprecated. If you want to get the Scrapy crawler from your
extension, middleware or pipeline implement the `from_crawler` class method.
For example:
@classmethod
def from_crawler(cls, crawler):
return cls(crawler)
"""
|