From 100b61bcc58b7cb2c62c28a0fcfe82a87458e87c Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Sun, 31 Mar 2024 07:35:21 -0600 Subject: python/python3-setuptools-opt: README fixes. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-setuptools-opt/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/python3-setuptools-opt/README') diff --git a/python/python3-setuptools-opt/README b/python/python3-setuptools-opt/README index 7d957ab7fc..5b65d6ba0b 100644 --- a/python/python3-setuptools-opt/README +++ b/python/python3-setuptools-opt/README @@ -3,9 +3,10 @@ python3-setuptools-opt (Install newer setuptools in /opt) Setuptools is a fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects. -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 -- cgit v1.2.3