mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
gis/python3-netcdf4-python: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
576e459bcd
commit
ac4d7d7f1a
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
|
|||
|
||||
# Requires newer version of setuptools than available in -stable. Has not
|
||||
# effect on -current
|
||||
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 --no-isolation
|
||||
python3 -m installer -d "$PKG" dist/*.whl
|
||||
|
|
Loading…
Reference in a new issue