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:19 +0700 |
commit | 9d9b9b9dbefb2d163030b96956ff3f3f1d2075ef (patch) | |
tree | 0553950a6c3b8f645062ff36d092274b7672d60d /system/locust | |
parent | e75fbd90b54159864bdb938f927e81117e6eb2c3 (diff) |
system/locust: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/locust')
-rw-r--r-- | system/locust/locust.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/locust/locust.SlackBuild b/system/locust/locust.SlackBuild index 87f8778b47fda..449ff8f673ef4 100644 --- a/system/locust/locust.SlackBuild +++ b/system/locust/locust.SlackBuild @@ -78,7 +78,8 @@ find -L . \ # Since dependency python3-pyzmq uses a newer version of setuptools via # python3-setuptools-opt, we need to adjust PYTHONPATH to use it here too. -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 |