Adding extra modules to a Pyinstaller build

GaryLee garywlee at gmail.com
Mon Oct 8 21:45:19 EDT 2007


> I need to add several Python standard modules to a Pyinstaller
> project. The modules are not (and cannot be) explicitly imported in my
> project script, so is there a way to add them to my .spec file in
> order to allow Pyinstaller to search for them in PYTHONPATH and add
> them to the project?

Have you read the "Listing Hidden Imports" section in the PyInstaller
document?
Check this out.
http://pyinstaller.hpcf.upr.edu/docs/Manual_v1.1.html#listing-hidden-imports

Regards,
Gary




More information about the Python-list mailing list