mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/python3-scipy: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
25eeabe5ec
commit
34bd13ef51
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue