aboutsummaryrefslogtreecommitdiff
path: root/desktop/todoman
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-03-31 11:33:40 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 15:18:08 +0700
commitfb2073f3f71a127b49ce984358748d3c1cb8ca29 (patch)
tree88d27323c248cda53448537e3566ba8d671fbadd /desktop/todoman
parent1e152a2a5bbfbe421cdb2120cfa42fdb33a53392 (diff)
desktop/todoman: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/todoman')
-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