mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/flexget: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
95ee22ab15
commit
b580a3dacb
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue