File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
graalpython/lib-graalpython/patches/scipy Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ index ad18b245..b18f3b89 100644
13
13
],
14
14
diff --git a/mesonpy_wrapper.py b/mesonpy_wrapper.py
15
15
new file mode 100644
16
- index 00000000..3f5beb79
16
+ index 00000000..21cceae0
17
17
--- /dev/null
18
18
+++ b/mesonpy_wrapper.py
19
- @@ -0,0 +1,88 @@
19
+ @@ -0,0 +1,82 @@
20
20
+ import mesonpy
21
21
+ import os
22
22
+ import sys
@@ -99,12 +99,6 @@ index 00000000..3f5beb79
99
99
+ scipy_build_env = get_build_env()
100
100
+ with env_vars(scipy_build_env):
101
101
+ return mesonpy.build_sdist(sdist_directory, config_settings=config_settings)
102
- +
103
- + def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):
104
- + if config_settings is None:
105
- + config_settings = {}
106
- + config_settings['compile-args'] = '-j4'
107
- +
108
102
diff --git a/pyproject.toml b/pyproject.toml
109
103
index 454a3c2e..370f0e8e 100644
110
104
--- a/pyproject.toml
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ index 5b4a1d52..c29ec297 100644
13
13
],
14
14
diff --git a/mesonpy_wrapper.py b/mesonpy_wrapper.py
15
15
new file mode 100644
16
- index 00000000..3f5beb79
16
+ index 00000000..21cceae0
17
17
--- /dev/null
18
18
+++ b/mesonpy_wrapper.py
19
- @@ -0,0 +1,88 @@
19
+ @@ -0,0 +1,82 @@
20
20
+ import mesonpy
21
21
+ import os
22
22
+ import sys
@@ -99,12 +99,6 @@ index 00000000..3f5beb79
99
99
+ scipy_build_env = get_build_env()
100
100
+ with env_vars(scipy_build_env):
101
101
+ return mesonpy.build_sdist(sdist_directory, config_settings=config_settings)
102
- +
103
- + def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):
104
- + if config_settings is None:
105
- + config_settings = {}
106
- + config_settings['compile-args'] = '-j4'
107
- +
108
102
diff --git a/pyproject.toml b/pyproject.toml
109
103
index 6dc1d407..da3e4e6d 100644
110
104
--- a/pyproject.toml
You can’t perform that action at this time.
0 commit comments