Date: Sun, 08 May 2016 16:44:51 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 209204] Changing default Python version unduly difficult Message-ID: <bug-209204-21822-ne4Rcl4ipO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209204-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-209204-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209204 David Naylor <dbn@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|In Progress |Closed --- Comment #6 from David Naylor <dbn@FreeBSD.org> --- Oops, apologies. The correct approach to what you want to achieve is: # Variables, which can be set by a user: # # PYTHON_VERSION - The chosen Python interpreter including the versi= on, # e.g. python2.7, python3.3, etc. This allows the u= ser # to override the currently chosen default version = and # to install the port for a specific Python version. # It must not be set by a port. For example: # cd /usr/ports/textproc/py-pygments # make -V PYTHON_VER 2.7 # make -V PYTHON_VER PYTHON_VERSION=3Dpython3.5 3.5 i.e. if you want to install ports for python versions other than the default (as already set in your system, per PEP 394) then use PYTHON_VERSION, this = can be set in /etc/make.conf to effectively change the default. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209204-21822-ne4Rcl4ipO>