[Bug 253563] Use '/usr/local/bin/python3' as the value of PYTHON_CMD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 16 18:10:04 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253563
Bug ID: 253563
Summary: Use '/usr/local/bin/python3' as the value of
PYTHON_CMD
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Documentation
Assignee: doc at FreeBSD.org
Reporter: yasu at utahime.org
Created attachment 222495
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222495&action=edit
Patch file
Currently '/usr/local/bin/python3.7' is used as the value of PYTHON_CMD. Right
now it is proper because 3.7 is the default version of Python 3 in ports tree.
But it will be change to newer version in the future. Additionally, if user
build packages from ports tree by himself he can change default version of
Python 3 by adding 'DEFAULT_VERSIONS+=python3=3.x' in make.conf. In such cases
setting PYTHON_CMD to '/usr/local/bin/python3.7' is improper.
BTW in the section 1.1 of FDP user is told to install 'python3' package. This
is meta package that depends on the default version of Python 3. And if it is
installed '/usr/local/bin/python3' is created as the symbolic link to the
Python 3 interpreter of the default version (e.g. /usr/local/bin/python3.7). So
if '/usr/local/bin/python3' is used as the value of PYTHON_CMD, it works fine
regardless of which version is assigned to the default of Python 3.
So change the value of PYTHON_CMD in doc tree to '/usr/local/bin/python3'.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list