py2exe: setting packages from setup script

D

David Fraser

Hi

Is it possible to set a list of packages to be included by py2exe in the
setup script instead of on the command line?
I tried packages=["wx"] but it didn't work.

BTW this is for building wxPRE, which is progressing ... we now have a
wxPRE.exe generated by py2exe that seems to run fine

David
 
H

Harald Massa

I tried packages=["wx"] but it didn't work.

options = {"py2exe": {"packages": ["wx"]}},

a dictionary is expected.

best wishes

harald
 

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
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top