Build bugs in Python 2.2.1?

Martin v. Loewis martin at
Sun Aug 11 11:19:04 CEST 2002

Jonathan Hogg <jonathan at> writes:

> This is the easiest part. The interface already exists. Generating a
> Modules/Setup file is already done by configure for the thread and signal
> modules. Extending this procedure to correctly configure the other modules
> would be trivial.

Please understand that this option has been explicitly considered, and
has been rejected in favour of a distutils-based build approach.

> I think it would make Python a lot more useful on UNIX-style platforms if it
> could be built entirely from configure. Hand editing compile flags in
> configuration files is something I hope to slowly eradicate from the face of
> UNIX-dom.

Then improve

> I don't see how any of this would impact the non-autoconf platforms, since
> these already need special procedures to build. It would be fairly simple to
> reduce to
>     if platform in ['mac','win32']:
>         # a hundred lines of special pleading
>     else:
>         # slurp in the configure-generated settings from Modules/Setup.conf

Yes, but this would be counter-productive. The value of and
distutils is that build procedures can be shared across platforms.


More information about the Python-list mailing list