diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:31 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:19 +0700 |
commit | e76c78ece709625cc50caf6c72d7426f852c7b8d (patch) | |
tree | 8ceaef81ffb684e8fa4bda01a68023867db7b6c0 /system/xonsh/xonsh.SlackBuild | |
parent | 9d9b9b9dbefb2d163030b96956ff3f3f1d2075ef (diff) |
system/xonsh: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xonsh/xonsh.SlackBuild')
-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 471c8698d03f..ac0907d994ca 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 |