Configure options for minimal Python 2.6

A

Andrew Malcolmson

I want to compile a minimal Python 2.6 for Debian Etch without support
for optional features such as tk and sphinx. The configure script's
help says that features can be disabled with an '--without-PACKAGE', so
I guess disabling tk is '--without-tk', but where is there a list of the
feature/package names of the other optional components?
 
M

Martin v. Löwis

I want to compile a minimal Python 2.6 for Debian Etch without support
for optional features such as tk and sphinx. The configure script's
help says that features can be disabled with an '--without-PACKAGE', so
I guess disabling tk is '--without-tk', but where is there a list of the
feature/package names of the other optional components?

To disable extension modules, there is actually nothing that you have to
do. By default, they will not get compiled into the interpreter, anyway.

A few modules to become builtin; check Modules/Setup* to remove any that
you don't want.

configure --help gives you a complete list of all supported parameters
already.

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top