/opt/local/bin/python2.5 as default MacPorts' "python" interpreter

Rainer Müller raimue at macports.org
Fri Jan 18 03:21:25 PST 2008


Emmanuel Hainry wrote:
> So, for a port that works well with tiger's python2.3, leopard's 
> python2.5 and macports' python2.3, 2.4 or 2.5, the correct dependency
>  would be port:python_select or bin:python:python_select? And the 
> python to choose ${prefix}/bin/python or the first python in the 
> PATH?

No, because python_select does not depend on any specific python
version. It is used to make symlinks for already installed python
version. Although the select files which are currently in
python_select/files should be moved into the appropriate ports.

The purpose of python_select is to give the user the choice which python 
version they want to run when typing in "python" or by #!/usr/bin/env 
python.

Rainer


More information about the macports-dev mailing list