diff options
author | fourtysixandtwo | 2024-03-31 22:35:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-04-05 10:18:19 +0200 |
commit | e76c78ece709625cc50caf6c72d7426f852c7b8d (patch) | |
tree | 8ceaef81ffb684e8fa4bda01a68023867db7b6c0 /system | |
parent | 9d9b9b9dbefb2d163030b96956ff3f3f1d2075ef (diff) | |
download | slackbuilds-e76c78ece709625cc50caf6c72d7426f852c7b8d.tar.gz |
system/xonsh: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/xonsh/xonsh.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/xonsh/xonsh.SlackBuild b/system/xonsh/xonsh.SlackBuild index 471c8698d0..ac0907d994 100644 --- a/system/xonsh/xonsh.SlackBuild +++ b/system/xonsh/xonsh.SlackBuild @@ -82,7 +82,8 @@ find -L . \ # Fixed compatibility with python3.9 patch -p1 < $CWD/v310.patch -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 |