[Python-Dev] buildtime vs runtime in Distutils

Tarek Ziadé ziade.tarek at gmail.com
Thu Nov 19 17:19:10 CET 2009


On Thu, Nov 19, 2009 at 12:04 PM, M.-A. Lemburg <mal at egenix.com> wrote:
[..]
> BTW: There's already a Tools/scripts/h2py.py we could use for
> converting pyconfig.h into a Python file.

Good to know,

> For the Makefile
> we could use the distutils Makefile parser to add the extra
> values.

Yes, there's also a pyconfig.h parser function. It seems though, for Makefile,
that the tools available during the build phase are simpler/better at
extracting values.
(currently experimenting those)

Tarek


More information about the Python-Dev mailing list