diff options
Diffstat (limited to 'source/l/python-packaging/python-packaging.SlackBuild')
-rwxr-xr-x | source/l/python-packaging/python-packaging.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/l/python-packaging/python-packaging.SlackBuild b/source/l/python-packaging/python-packaging.SlackBuild index 8a72de6e9..82a5cdd12 100755 --- a/source/l/python-packaging/python-packaging.SlackBuild +++ b/source/l/python-packaging/python-packaging.SlackBuild @@ -61,9 +61,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 {} \+ -unshare -n python3 -m build --wheel --no-isolation || exit 1 - -python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 +# This is a bootstrap package for building via wheels. +# Keep using this build method for now. +python3 -m flit_core.wheel || exit 1 +PYTHONPATH=src python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a *.rst LICENSE* PKG-INFO \ |