python2.5 has wrong value for distutils.sysconfig.get_config_var("PYTHON")

David Glasser glasser at mit.edu
Fri May 4 04:09:00 PDT 2007


On 5/4/07, Weissmann Markus <mww at macports.org> wrote:
> o.k. - I've just submitted revision 1 of python25 that includes a fix
> for this - the PYTHON variable now points to @bindir@/python2.5 (e.
> g. /opt/local/bin/python2.5).
>
> Please let me know if this causes any troubles elsewhere and if it
> fixes the ctypes problem (or if we need to patch more stuff)

Cool!

For what it's worth, though, it was pointed out to me that I should
probably just use sys.executable instead of
distutils.sysconfig.get_config_var("PYTHON").

--dave

-- 
David Glasser | glasser at mit.edu | http://www.davidglasser.net/



More information about the macports-dev mailing list