This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Arfrever, doko, eric.araujo, koobs, krasimir_vanev, lemburg, loewis, pitrou, skrah, thomas-petazzoni, vstinner, wdv4758h
Date 2016-06-06.22:16:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465251382.66.0.6057328374.issue20210@psf.upfronthosting.co.za>
In-reply-to
Content
Just found this ticket and apparently late to the game...

Some comments:

It is already possible to selectively build Python C extension modules in the stdlib via editing the Modules/Setup file and this is a lot better to maintain than a long list of configure options.

Martin's suggestion to add support for a *disabled* option would make this even easier. This would also complement the *static* and *shared* option we have for Modules/Setup to define modules to compile into the main executable rather than as shared module.

The only bit that's missing (if really needed), is to prevent setup.py from building modules not listed in Modules/Setup as shared libs. This could be had with a single configure option, e.g. --disable-setuppy-builds.

But all that said, I don't think, it's really necessary to cripple Python just to save some image space. As you can see with our eGenix PyRun runtime, it is possible to compress Python down to just a few MBs:

http://www.egenix.com/products/python/PyRun/

while still having most of the stdlib readily available.
History
Date User Action Args
2016-06-06 22:16:22lemburgsetrecipients: + lemburg, loewis, doko, pitrou, vstinner, eric.araujo, Arfrever, skrah, koobs, thomas-petazzoni, wdv4758h, krasimir_vanev
2016-06-06 22:16:22lemburgsetmessageid: <1465251382.66.0.6057328374.issue20210@psf.upfronthosting.co.za>
2016-06-06 22:16:22lemburglinkissue20210 messages
2016-06-06 22:16:22lemburgcreate