bug in asciidoc port?

David Evans devans at macports.org
Wed Feb 18 09:03:11 PST 2009

Joerg van den Hoff wrote:
> hi there,
> I recently installed the `asciidoc` port (MacOS 10.4.11) and
> I noted that the first line in the python source of `asciidoc`
> reads:
> #!/usr/bin/env python
> which finds the system's python binary in /usr/bin. at least
> for me this is version 2.3.5 but, `asciidoc' needs the macports
> provided python2.5. so the first line should read
> #!/usr/bin/env python2.5
> or probably even better specify directly the path to the
> correct python executable.
> I presume...
> regards,
> joerg
Another solution is to use port python_select (which I think is 
recommended by the python25 port)  to select which
python binary will be used in the default case

sudo port install python_select
sudo python_select python25


% python --version
Python 2.5.4

More information about the macports-users mailing list