Controlling what built-in modules Python compiles with?

M

martin z

I'm having a lot of trouble figuring out the details of controlling Python
compiling. I can compile and embed just fine, but I want some finer
granularity on what gets compiled into Python. I can find little to no
documentation of the compiler flags besides the ones essential to operating
system compatibility.

How does one choose what built-in modules are compiled into Python? I ask
because newer versions are accumulating more and more unneeded features for
my embedded app. For example, it seems unnecessary bloat to compile with
zipimport if all the modules I plan to use are being loaded in directly by
the embedding app.
 

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

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top