diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:45 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:16 +0700 |
commit | df01a29cd2097b32e995751b8902082dd4d037bd (patch) | |
tree | 8628a6e332dd278d961801bcd7937648e734cf89 /python/python3-pybcj | |
parent | d529a1161369e7e8844a2493bbbe1984526c5c56 (diff) |
python/python3-pybcj: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pybcj')
-rw-r--r-- | python/python3-pybcj/python3-pybcj.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-pybcj/python3-pybcj.SlackBuild b/python/python3-pybcj/python3-pybcj.SlackBuild index 86164216751f..d7a9c0f027d3 100644 --- a/python/python3-pybcj/python3-pybcj.SlackBuild +++ b/python/python3-pybcj/python3-pybcj.SlackBuild @@ -82,7 +82,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 setup.py install --root=$PKG |