summaryrefslogtreecommitdiffstats
path: root/development/jupyter_console
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:20 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:01 +0700
commiteb9c0c236574d7d3c6f00dd6963da8ea9450b468 (patch)
treec8fcca463d9ec9822d606aa96530c5e45005efbd /development/jupyter_console
parentff5f4db981d05c629bd1c9926802398480d1a7df (diff)
downloadslackbuilds-eb9c0c236574d7d3c6f00dd6963da8ea9450b468.tar.gz
slackbuilds-eb9c0c236574d7d3c6f00dd6963da8ea9450b468.tar.xz
development/jupyter_console: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jupyter_console')
-rw-r--r--development/jupyter_console/jupyter_console.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyter_console/jupyter_console.SlackBuild b/development/jupyter_console/jupyter_console.SlackBuild
index 8d98ad6be8..3cf17afbf1 100644
--- a/development/jupyter_console/jupyter_console.SlackBuild
+++ b/development/jupyter_console/jupyter_console.SlackBuild
@@ -77,6 +77,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