python.include setting?
Ryan Schmidt
ryandesign at macports.org
Tue Apr 9 20:50:46 PDT 2013
On Apr 9, 2013, at 14:12, Ned Deily <nad at acm.org> wrote:
> BTW the canonical way to find the header directory is to use the
> python-config command associated with the interpreter being used:
>
> pythonx.y-config --include
But in the python portgroup, python.include is an option, in the global part of the portfile. There's no guarantee that a port doesn't access that option outside of a phase. So there's no guarantee that python has been installed by the time the option is accessed. You cannot rely on the pythonx.y-config program existing by that point.
More information about the macports-dev
mailing list