Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > main-updates-src > by-pkgid > 70c6f73b7de273a264c9a8c049dad72b > files > 9

python-2.7.2-2.2.src.rpm

--- setup.py.orig	2011-06-23 05:22:15.000000000 +0200
+++ setup.py	2011-06-23 05:23:25.000000000 +0200
@@ -368,9 +368,6 @@
             os.unlink(tmpfile)
 
     def detect_modules(self):
-        # Ensure that /usr/local is always used
-        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
-        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
         self.add_multiarch_paths()
 
         # Add paths specified in the environment variables LDFLAGS and