Skip to content

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

Reverting last change in scrapy-ctl script. PYTHONPATH should be set manually

elpolilla1cf569f88abf
diff --git a/scrapy/trunk/scrapy/conf/project_template/scrapy-ctl.py b/scrapy/trunk/scrapy/conf/project_template/scrapy-ctl.py
index 578358f53..e8e56eaf2 100755
--- a/scrapy/trunk/scrapy/conf/project_template/scrapy-ctl.py
+++ b/scrapy/trunk/scrapy/conf/project_template/scrapy-ctl.py
@@ -1,7 +1,4 @@
#!/usr/bin/env python
-import sys, os
-sys.path.append(os.path.dirname(os.getcwd()))
-
from scrapy.command.cmdline import execute
execute()