summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author fourtysixandtwo2024-03-31 19:33:42 +0200
committer Willy Sudiarto Raharjo2024-04-05 10:18:11 +0200
commit2e8c2f60455b34f54ad29bd8e998b60a60cd2a5f (patch)
treeadcc9004d472bc76bddfc55c10d206faee4610e0
parent8ab5e6957b2707e51d2a539a8cce26d8941de5a4 (diff)
downloadslackbuilds-2e8c2f60455b34f54ad29bd8e998b60a60cd2a5f.tar.gz
python/jellyfish: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/jellyfish/jellyfish.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/jellyfish/jellyfish.SlackBuild b/python/jellyfish/jellyfish.SlackBuild
index c2931d7895..7946abf87d 100644
--- a/python/jellyfish/jellyfish.SlackBuild
+++ b/python/jellyfish/jellyfish.SlackBuild
@@ -103,7 +103,8 @@ else
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi
-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