diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:19 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:01 +0700 |
commit | ff5f4db981d05c629bd1c9926802398480d1a7df (patch) | |
tree | 02e1b9460690aef32a086eea7b7a74b879891d80 | |
parent | ca3cd10adb4fa6548f7a8690d9ab29c28fe8ed41 (diff) |
development/jupyter_client: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/jupyter_client/jupyter_client.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyter_client/jupyter_client.SlackBuild b/development/jupyter_client/jupyter_client.SlackBuild index 6b936dd0c691..d8efc70d7f84 100644 --- a/development/jupyter_client/jupyter_client.SlackBuild +++ b/development/jupyter_client/jupyter_client.SlackBuild @@ -63,6 +63,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +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 |