system/locust: Set PYTHONPATH to use newer setuptools
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9ef26eb6ec
commit
18a323d551
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue