diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-09 12:25:35 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:36:59 +0700 |
commit | 98ed743dfee71f3732b12abbe778f45d55ee31e8 (patch) | |
tree | f292771ccc042e4b572b8e0f6f31ffe85e60cdc8 /python/python3-docker/python3-docker.SlackBuild | |
parent | 19c04dd4911b6a748bf1d626f08daee10aeb2bbb (diff) |
python/python3-docker: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-docker/python3-docker.SlackBuild')
-rw-r--r-- | python/python3-docker/python3-docker.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-docker/python3-docker.SlackBuild b/python/python3-docker/python3-docker.SlackBuild index 97a7edf6004dd..879052e8b20a7 100644 --- a/python/python3-docker/python3-docker.SlackBuild +++ b/python/python3-docker/python3-docker.SlackBuild @@ -63,6 +63,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 |