GUI2EXE Problem

Dear Andrea,

My application is wxPython based and as mentioned on the site in two simple tutorials I have added wx and wx.lib in python packages list.
Now in the dist directory I have “wx._calendar.pyd” and other .pyd files of widgets which I am not using. Do I have to exclude each an everything
I am not using or when you do include wx and wx.lib as packages these .pyds come as default?

I am using version created on 04 October 2008.

Thanks

···

----- Original Message ----
From: Andrea Gavana andrea.gavana@gmail.com
To: wxpython-users@lists.wxwidgets.org
Sent: Tuesday, 7 October, 2008 6:25:10
PM
Subject: Re: [wxpython-users] GUI2EXE Problem

Hi,

On Tue, Oct 7, 2008 at 1:50 PM, Prashant Saxena wrote:

Has anybody successfully made an application using GUI2EXE?

I hope somone did, otherwise GUI2Exe would be pretty useless :smiley:

Specially when
custom .pyd files are involved.

“Custom” pyd files are picked up automagically by py2exe (or whatever
executable-builder you are using) during the building process, so this
isn’t exactly a GUI2Exe issue.

One more thing I have noticed when using
“Bundle files” to 3 and I am getting numpy, matplotlib and so many unwanted
modules getting involved which I am not at all using in my project.

Assuming you are using py2exe as executable-builder in GUI2Exe, you
may want to add numpy, matplotlib and other unwanted packages/modules
in the “Excludes” list control, so that they are not picked up
by
py2exe.

BTW, are you using the GUI2Exe version from the SVN repository here:

http://code.google.com/p/gui2exe/

?

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


Add more friends to your messenger and enjoy! Invite them now.

Hi,

Dear Andrea,

My application is wxPython based and as mentioned on the site in two simple
tutorials I have added wx and wx.lib in python packages list.

Uhm, you shouldn't need to do that as py2exe is able to pick up all
the modules you need for your wxPython-based application. The only
reason why I did it in my tutorial is because I was building the
wxPython *demo* itself as executable, and as the Python code for the
demo does some woodoo-magic, I need to include wx and wx.lib as
packages. But standard wxPython applications shouldn't need to add wx
and wx.lib as packages.

Now in the dist directory I have "wx._calendar.pyd" and other .pyd files of
widgets which I am not using. Do I have to exclude each an everything
I am not using or when you do include wx and wx.lib as packages these .pyds
come as default?

No, you shouldn't exclude anything, py2exe will pick up the wxPython
pyd and dll it needs. Some of them need to be included in the
distribution anyway, as the way in which wxPython (and wxWidgets) is
built does not allow you to exclude a particular pyd/dll without
compromising the whole wxPython package when run as executable.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Tue, Oct 7, 2008 at 2:11 PM, Prashant Saxena wrote: