summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--python/python3-filelock/python3-filelock.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild
index c016f5e9b8..c308ac4925 100644
--- a/python/python3-filelock/python3-filelock.SlackBuild
+++ b/python/python3-filelock/python3-filelock.SlackBuild
@@ -66,6 +66,9 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+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