1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 05:04:25 +00:00
scrapy/scrapyd/eggrunner.py
2010-09-14 01:53:05 -03:00

10 lines
180 B
Python

import os
from scrapyd.eggutils import activate_egg
eggpath = os.environ.get('SCRAPY_EGGFILE')
if eggpath:
activate_egg(eggpath)
from scrapy.cmdline import execute
execute()