graphics/mcomix: 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 0b37ea1604
commit d235886259
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -64,7 +64,8 @@ chown -R root:root .
find . -type f -a -exec chmod 644 {} + -o \
-type d -a -exec chmod 755 {} +
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
python3 -m installer --destdir "$PKG" dist/*.whl