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 | d28985193765c72d07f3d5cd30da5f51c4206b2c (patch) | |
tree | 426ad7ed8c478e382a1b670ded516bafbbc444f6 /python | |
parent | debfa3488d80277ccc91252ac09f6817ef4d543b (diff) |
python/python3-joblib: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-joblib/python3-joblib.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-joblib/python3-joblib.SlackBuild b/python/python3-joblib/python3-joblib.SlackBuild index aa68fb45358af..f521684d5c850 100644 --- a/python/python3-joblib/python3-joblib.SlackBuild +++ b/python/python3-joblib/python3-joblib.SlackBuild @@ -67,7 +67,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 |