ARGH! Python2.1 build

Robert Roy rjroy at takingcontrol.com
Thu Jun 28 19:21:02 EDT 2001


On Wed, 27 Jun 2001 14:34:02 GMT, Glen Starchman
<glen at enabledventures.com> wrote:

>
>Perhaps I am in my own little problem domain, but I like to strip nearly
>every module out of the interpreter when I make builds for CGIs. Under
>2.0 and below this was easy: comment nearly everything in Modules/Setup
>and build. Easy.
>
>Now, under 2.1 we are using DistUtils and it appears to me that the only
>way to *remove* a module from the build process is to add the module to
>disabled_modules_list in setup.py. What if I want nearly every module
>disabled? I *could* edit the Makefile directly, but it seems that there
>should be a better way.

Edit the makefile so it does not run Setup.py? Thats a one liner.

You can still choose to statically link via the  Modules/Setup

Bob



More information about the Python-list mailing list