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 | e0f80b799a96c3fb916a85ee90031eca3dd136aa (patch) | |
tree | c8a7e5d41930973da03e4d99f3865e5c2cce9ca8 | |
parent | 88a7af59a6dfaed1d7607ad4812fcd064c0db20a (diff) | |
download | slackbuilds-e0f80b799a96c3fb916a85ee90031eca3dd136aa.tar.gz slackbuilds-e0f80b799a96c3fb916a85ee90031eca3dd136aa.tar.xz |
python/python3-kiwisolver: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-kiwisolver/python3-kiwisolver.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild index a93c817527..53c78d794e 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild +++ b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild @@ -68,7 +68,8 @@ find -L . \ # Use newer, non-stock setuptools due to package requirements # Requres python/python3-setuptools-opt build-time dependency -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 |