From 1381c1e50acf01eb87f61cd829885d3122b36695 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sat, 12 Sep 2009 14:50:05 -0300 Subject: [PATCH] removed (no longer needed) hack in setup.py --- setup.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/setup.py b/setup.py index bfce6d4f3..d6d9cf673 100644 --- a/setup.py +++ b/setup.py @@ -54,14 +54,6 @@ if root_dir != '': os.chdir(root_dir) scrapy_dir = 'scrapy' -# Generate dropin.cache for spiders under tests -# if dropin.cache is missing, running tests under python site-packages fails with permission errors -import os -os.environ['SCRAPY_SETTINGS_DISABLED']='1' -from twisted.plugin import getPlugins, IPlugin -import scrapy.tests.test_spiders -list(getPlugins(IPlugin, scrapy.tests.test_spiders)) - def is_not_module(filename): return os.path.splitext(f)[1] not in ['.py', '.pyc', '.pyo']