aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:22 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:01 +0700
commit35c3a1f0dd2188b041986ffc1b0734f619b49442 (patch)
tree441e44e689eb1740bac7b699e85e8603d4089912 /development
parent99eac5d2fb4f2f86ad3a739355070c4daa03c37e (diff)
development/jupyter_events: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/jupyter_events/jupyter_events.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyter_events/jupyter_events.SlackBuild b/development/jupyter_events/jupyter_events.SlackBuild
index 08a3bfde9051..81dc4bd0c2b8 100644
--- a/development/jupyter_events/jupyter_events.SlackBuild
+++ b/development/jupyter_events/jupyter_events.SlackBuild
@@ -76,6 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -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