diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:11:55 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:08 +0700 |
commit | 5f728ee44e4f7eec13f81f1c0263e53fe021f0b8 (patch) | |
tree | f6661a9bc1ead5e735fe85fc3273599633e6bc26 /python | |
parent | 7e70d92ffd2eb11c7955844d9283dbda4c0b4a52 (diff) |
python/traitlets: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/traitlets/traitlets.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/traitlets/traitlets.SlackBuild b/python/traitlets/traitlets.SlackBuild index 341bd19859e5..1fa14f1b413f 100644 --- a/python/traitlets/traitlets.SlackBuild +++ b/python/traitlets/traitlets.SlackBuild @@ -64,6 +64,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 |