diff options
Diffstat (limited to 'python/python3-Flask-Security-Too')
-rw-r--r-- | python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild index 6ffe67803d..39f933090a 100644 --- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild +++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild @@ -68,7 +68,8 @@ find -L . \ sed -i '/importlib_resources/ s/5\.10/5.1/' pyproject.toml sed -i '/markupsafe/ s/2\.1\.0/2.0.1/' pyproject.toml -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 |