ARGH! Python2.1 build

Glen Starchman glen at enabledventures.com
Wed Jun 27 10:34:02 EDT 2001


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.



More information about the Python-list mailing list