aboutsummaryrefslogtreecommitdiff
path: root/python/python3-meson-opt/README
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-03-31 07:37:20 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 15:18:08 +0700
commit266e674a09e6014555e3b999566bd7f71e9fa90c (patch)
treedc8c672efcb7a2149f1d771daeeb3fac601976f6 /python/python3-meson-opt/README
parent100b61bcc58b7cb2c62c28a0fcfe82a87458e87c (diff)
python/python3-meson-opt: README fixes.
Applying fixes for current even though they are not needed, but for consistency. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-meson-opt/README')
-rw-r--r--python/python3-meson-opt/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python3-meson-opt/README b/python/python3-meson-opt/README
index 469bef365b252..e72ffb354bae9 100644
--- a/python/python3-meson-opt/README
+++ b/python/python3-meson-opt/README
@@ -7,11 +7,12 @@ build definitions are written in a simple non-Turing complete DSL.
NOTE:
Install bin and docs to /opt/meson
- Installs module to /opt/python3.9/site-packages
+ Installs module to /opt/python$PYVER/site-packages
Add the following before the python3 build commands in your
Slackbuild to use this version over the stock one in 15.0. My testing
has shown the newer meson bin does not need to be added to PATH, but
YMMV:
-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