mirror of
https://github.com/markqvist/Sideband.git
synced 2025-06-13 17:32:55 -04:00
Updated recipes
This commit is contained in:
parent
c83798b123
commit
e90133a90f
6 changed files with 136 additions and 2 deletions
28
recipes/numpy/patches/remove-default-paths.patch
Normal file
28
recipes/numpy/patches/remove-default-paths.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
|
||||
index fc7018a..7b514bc 100644
|
||||
--- a/numpy/distutils/system_info.py
|
||||
+++ b/numpy/distutils/system_info.py
|
||||
@@ -340,10 +340,10 @@ if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
|
||||
default_include_dirs.append(os.path.join(sys.prefix, 'include'))
|
||||
default_src_dirs.append(os.path.join(sys.prefix, 'src'))
|
||||
|
||||
-default_lib_dirs = [_m for _m in default_lib_dirs if os.path.isdir(_m)]
|
||||
-default_runtime_dirs = [_m for _m in default_runtime_dirs if os.path.isdir(_m)]
|
||||
-default_include_dirs = [_m for _m in default_include_dirs if os.path.isdir(_m)]
|
||||
-default_src_dirs = [_m for _m in default_src_dirs if os.path.isdir(_m)]
|
||||
+default_lib_dirs = [] #[_m for _m in default_lib_dirs if os.path.isdir(_m)]
|
||||
+default_runtime_dirs =[] # [_m for _m in default_runtime_dirs if os.path.isdir(_m)]
|
||||
+default_include_dirs =[] # [_m for _m in default_include_dirs if os.path.isdir(_m)]
|
||||
+default_src_dirs =[] # [_m for _m in default_src_dirs if os.path.isdir(_m)]
|
||||
|
||||
so_ext = get_shared_lib_extension()
|
||||
|
||||
@@ -814,7 +814,7 @@ class system_info(object):
|
||||
path = self.get_paths(self.section, key)
|
||||
if path == ['']:
|
||||
path = []
|
||||
- return path
|
||||
+ return []
|
||||
|
||||
def get_include_dirs(self, key='include_dirs'):
|
||||
return self.get_paths(self.section, key)
|
Loading…
Add table
Add a link
Reference in a new issue