Date: Tue, 16 Feb 2021 18:10:04 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 253563] Use '/usr/local/bin/python3' as the value of PYTHON_CMD Message-ID: <bug-253563-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: yasu@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253563-9>
