diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:31 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:18 +0700 |
commit | 1665bbc6a2ad1d3b816394acbab7e9b5469a6986 (patch) | |
tree | a03959d234385999eb6e9f2c5d2fa7cf47505f95 /python | |
parent | dd475e9398b2616f4c0e43d8dc277dd9f64f0d94 (diff) | |
download | slackbuilds-1665bbc6a2ad1d3b816394acbab7e9b5469a6986.tar.gz slackbuilds-1665bbc6a2ad1d3b816394acbab7e9b5469a6986.tar.xz |
python/tqdm: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/tqdm/tqdm.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tqdm/tqdm.SlackBuild b/python/tqdm/tqdm.SlackBuild index 796e3eb7b3..59dd3c1566 100644 --- a/python/tqdm/tqdm.SlackBuild +++ b/python/tqdm/tqdm.SlackBuild @@ -76,7 +76,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # 46and2: newer setuptools needed -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 |