diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:41 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:11 +0700 |
commit | 8ab5e6957b2707e51d2a539a8cce26d8941de5a4 (patch) | |
tree | 2148ff88e12eaab221fd6e565541f91e84a1f7d1 /python | |
parent | d9c14ef2a5aa70efe579a5d4e81cc8670e7ad2f0 (diff) |
python/holidays: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/holidays/holidays.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/holidays/holidays.SlackBuild b/python/holidays/holidays.SlackBuild index 5f02a378cb..f74a302506 100644 --- a/python/holidays/holidays.SlackBuild +++ b/python/holidays/holidays.SlackBuild @@ -76,7 +76,8 @@ 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 {} \; -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 --no-isolation python3 -m installer -d "$PKG" dist/*.whl |