Adding extra modules to a Pyinstaller build

C

Craig

Hello all:

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?

Regards,
Craig
 
G

GaryLee

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
 

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,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top