network/flexget: Fix PYTHONPATH.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-03-31 11:33:41 -06:00 committed by Willy Sudiarto Raharjo
parent 95ee22ab15
commit b580a3dacb
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -5,7 +5,7 @@
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Written by Lionel Young <redtricycle@gmail.com>
#
# All rights reserved.
@ -80,7 +80,9 @@ sed -i "s/==.*//" requirements.txt
sed -i -E -e '/^(backports-zoneinfo|pkgutil-resolve-name)/d' \
-e '/^(pywin32|win32-setctime)/d' requirements.txt
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