Add support for executing scrapy using -m option of python

python -m scrapy
This commit is contained in:
Fábio C. Barrionuevo da Luz 2017-05-15 22:52:23 -03:00 committed by GitHub
parent dfe6d3d59a
commit df7a5c4aa4
1 changed files with 4 additions and 0 deletions

4
scrapy/__main__.py Normal file
View File

@ -0,0 +1,4 @@
from scrapy.cmdline import execute
if __name__ == '__main__':
execute()