diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:23 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:02 +0700 |
commit | 3deb827f92d95d8b4df919c1aca54956ca95b5a1 (patch) | |
tree | b77c148495334d09f27d0eed33e7a57791e7154f /development | |
parent | 1c76941f55267bdbc3036ca3efea0afb968f33e7 (diff) |
development/jupyter_server: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jupyter_server/jupyter_server.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyter_server/jupyter_server.SlackBuild b/development/jupyter_server/jupyter_server.SlackBuild index 69c76e22f426..06df117e8e39 100644 --- a/development/jupyter_server/jupyter_server.SlackBuild +++ b/development/jupyter_server/jupyter_server.SlackBuild @@ -76,6 +76,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 |