summaryrefslogtreecommitdiffstats
path: root/python/python3-setuptools-scm-opt/README
diff options
context:
space:
mode:
author fourtysixandtwo2024-03-31 15:28:13 +0200
committer Willy Sudiarto Raharjo2024-04-05 10:18:07 +0200
commit8445ac25521a63752f7d902ed865bc875608a87f (patch)
treeff8109d7b628ef7b5cc7dbf61941f93b946175ed /python/python3-setuptools-scm-opt/README
parentd31d28e5fe7bfd5d0e2cc6d2c8618e0bf9becee8 (diff)
downloadslackbuilds-8445ac25521a63752f7d902ed865bc875608a87f.tar.gz
python/python3-setuptools-scm-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-setuptools-scm-opt/README')
-rw-r--r--python/python3-setuptools-scm-opt/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python3-setuptools-scm-opt/README b/python/python3-setuptools-scm-opt/README
index 73881e3706..9affc3e333 100644
--- a/python/python3-setuptools-scm-opt/README
+++ b/python/python3-setuptools-scm-opt/README
@@ -8,9 +8,10 @@ managed file.
ImportError: cannot import name '__version__' from ...
NOTE:
-Installs to /opt/python3.9/site-packages
+Installs 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:
-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