ALT Linux repos
Group :: Development/Python
RPM: python
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: python-2.5.1-deb-setup.patch
Download
Download
diff --git a/Python/setup.py b/Python/setup.py
index 40ad843..f81063c 100644
--- a/Python/setup.py
+++ b/Python/setup.py
@@ -438,8 +438,9 @@ class PyBuildExt(build_ext):
def detect_modules(self):
# Ensure that /usr/local is always used
if not cross_compiling:
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+ #add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+ #add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+ pass
if cross_compiling:
self.add_gcc_paths()
self.add_multiarch_paths()