diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/locust/locust.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/locust/locust.SlackBuild b/system/locust/locust.SlackBuild index db2c6dff476b6..bb869c601686a 100644 --- a/system/locust/locust.SlackBuild +++ b/system/locust/locust.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=locust VERSION=${VERSION:-2.16.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,10 @@ 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 {} \; +# 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/ + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |