aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/todoman/todoman.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/todoman/todoman.SlackBuild b/desktop/todoman/todoman.SlackBuild
index 9b5530319fbd..b526d5f88a3d 100644
--- a/desktop/todoman/todoman.SlackBuild
+++ b/desktop/todoman/todoman.SlackBuild
@@ -78,7 +78,8 @@ find -L . \
# Use newer, non-stock setuptools due to package requirements
# Requires python/python3-setuptools-opt build-time dependency
-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