Statically linking standard Python modules into an application
gh_pythonlist at gmx.de
Thu Mar 14 01:10:56 CET 2002
Le 13/03/02 à 16:44, Brian Forney écrivit:
> [...] Is there a way to statically link in all of the standard modules
> *and* the Python library *and* keep the Python library from calling
> dlopen() for standard modules?
You need to edit Modules/Setup, then rebuild Python. In theory, putting
a "*static*" line at the top, then adding the modules normally built
with distutils to this file should do the trick.
More information about the Python-list