diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:44 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:14 +0700 |
commit | debfa3488d80277ccc91252ac09f6817ef4d543b (patch) | |
tree | 680802a349fb83093273d0b195d8f77736799b46 | |
parent | 8e29a22730832b1689b348501182e2f8f6905f8e (diff) |
python/python3-inflate64: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-inflate64/python3-inflate64.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-inflate64/python3-inflate64.SlackBuild b/python/python3-inflate64/python3-inflate64.SlackBuild index 883de80e4bcb6..047e335614e19 100644 --- a/python/python3-inflate64/python3-inflate64.SlackBuild +++ b/python/python3-inflate64/python3-inflate64.SlackBuild @@ -87,7 +87,8 @@ find -L . \ #python3 setup.py install --root=$PKG -export PYTHONPATH=/opt/python3.9/site-packages/ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |