python.include setting?
Michael Dickens
michaelld at macports.org
Tue Apr 9 17:57:07 PDT 2013
Thanks for that info. "pythonx.y-config --include" returns "-I...
-I..." so I'd need some extra parsing -- not difficult, but also a
couple steps more than the "glob" listing. - MLD
On Tue, Apr 9, 2013, at 03:12 PM, Ned Deily wrote:
> In article <32CB8D8A-BF4B-4BB1-9B56-C5A0AAB05AD5 at lavergne.gotdns.org>,
> Jeremy Lavergne
> <jeremy at lavergne.gotdns.org> wrote:
>
> > "m" means that they were built with pymalloc.
>
> 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
>
> Yeah, it repeats itself. But it handles all the variants. For example,
> with the Python 3.2 +ucs4 port variant, the suffix should be "mu". (The
> +ucs4 variant went away in Python 3.3.)
More information about the macports-dev
mailing list