diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-04-03 22:43:14 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:20 +0700 |
commit | 34bd13ef51c0f415f2ff7c4c13783250c5777958 (patch) | |
tree | cfaff976338523ae72aaf9f8212ec8c94767dc43 /academic | |
parent | 25eeabe5ecb7bcd5b8231989204a111ded8ba4ff (diff) |
academic/python3-scipy: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/python3-scipy/python3-scipy.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/python3-scipy/python3-scipy.SlackBuild b/academic/python3-scipy/python3-scipy.SlackBuild index a3039e8d4c3a7..7586beabdc2db 100644 --- a/academic/python3-scipy/python3-scipy.SlackBuild +++ b/academic/python3-scipy/python3-scipy.SlackBuild @@ -78,7 +78,8 @@ sed -i 's|numpy==1.23.2|numpy>=1.23.2|' pyproject.toml sed -i 's|pythran>=0.15.0,<0.16.0|pythran|' pyproject.toml # needs newer meson -export PYTHONPATH=/opt/python3.9/site-packages/ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |