diff options
author | fourtysixandtwo | 2024-03-31 19:33:40 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-04-05 10:18:09 +0200 |
commit | 18cd275494834f0916da78ab6a67ba1945b50612 (patch) | |
tree | 6c157554f63e979b196ad43b0e0e4e58a26cf5c9 | |
parent | 148dcb54b830a95721fcb80c11d30462dbfb8c8e (diff) | |
download | slackbuilds-18cd275494834f0916da78ab6a67ba1945b50612.tar.gz |
gis/python3-xarray: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | gis/python3-xarray/python3-xarray.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild index 2878d456d6..92d7f121e6 100644 --- a/gis/python3-xarray/python3-xarray.SlackBuild +++ b/gis/python3-xarray/python3-xarray.SlackBuild @@ -66,7 +66,8 @@ find -L . \ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + -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 |