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 | 7ba72c218b37cfbed795a8118784772c09a0bb8e (patch) | |
tree | df100b2190a4bd0365ea0d673fceb30fd609a19b /development | |
parent | 3deb827f92d95d8b4df919c1aca54956ca95b5a1 (diff) |
development/jupyter_server_terminals: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild b/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild index 60112ff1b35a..a5dd59ab1540 100644 --- a/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild +++ b/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild @@ -62,6 +62,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 |