diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:24 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:02 +0700 |
commit | 1a89e612c4c52a1d0ff306ec7060487f534314c6 (patch) | |
tree | 02383a3a41ec5b6256f396dce569566b4766ad83 /development | |
parent | 7ba72c218b37cfbed795a8118784772c09a0bb8e (diff) |
development/jupyterlab_server: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jupyterlab_server/jupyterlab_server.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyterlab_server/jupyterlab_server.SlackBuild b/development/jupyterlab_server/jupyterlab_server.SlackBuild index a5a7de3c48ff..6fb160ee2cb6 100644 --- a/development/jupyterlab_server/jupyterlab_server.SlackBuild +++ b/development/jupyterlab_server/jupyterlab_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 |