December 11th, 2004, 01:23 PM
i am going to use py2exe after i have completed my program. The problem is, i use lots of different packages such as wxpython, pyro etc etc. each of these packages i have downloaded and installed on my pc. So how can i get them all in my exe program, and all installed correctly at once?
December 11th, 2004, 02:26 PM
I dont know but where can u download them anyway i really have to know to go on
December 11th, 2004, 02:33 PM
December 11th, 2004, 02:43 PM
That is a serious spam if u dont even write the link or something.
December 12th, 2004, 02:53 AM
You normally don't need to do anything special. Just run py2exe on your main module and py2exe will deep-search it looking for imported modules and pull them into the zip file it creates that supports the exe.
This works fine for wxPython but I haven't tried with pyro but it should work.
You may have problems if you use the __import function instead of the import command. In that case you just explicitly specify the module that was not found either as a command line option or in the setup.py script.
December 12th, 2004, 07:53 AM
December 13th, 2004, 03:42 PM
In general the best way to find a Python module is to use Google [Google is our friend] though there is a pretty big list in the PyPI so it's always a good idea to check that out. Here are a bunch to get you started .
Originally Posted by monkeyman23555
Technically since this is Yab's thread he can make any sounds he wants -- within reason -- though he was probably just wondering what your post had to do with his Q .
Have fun guys,
December 16th, 2004, 09:00 AM
I've just tried vxApp->py2exe->app.exe path with a simple wxApp from Boa Getting Started Guide.
And it all works fine but...
Can I somehow get rid of that console window running in the background?
Distribution files are almost 8 Mbytes in size. That's a lot. Any way to reduce it? Just don't say Drop VX...
December 16th, 2004, 11:15 AM
Not when you compare it like for like it isn't.
In your 8Mb you get your code, the Python interpreter and all its libraries (~10Mb) and wxWindows (~6Mb download).
C# or VB.Net require the .Net Framework to run, which is about 16Mb to download.
Java programs require the Java Runtime (15Mb).
VB4/5/6 programs require the VBRunX00.dll files.
Windows C++ programs often use extensions such as MFC which need to be bundled with their installers.
8Mb isn't much of an install these days. It will easily fit on a CD, or on almost any memory card/USB key. It's a two and a half minute download on 512Kb ADSL.
The only people who would have problems are dialup users... and they don't exist anymore... do they?
December 16th, 2004, 01:11 PM
Which file of "Boa Constructor" should I download?
Maybe the "boa-constructor-0.3.1.win32.exe".
And which "wxPython" do I have to download?
Could you please make a link to the exact file.
Where can I get the wxPython 2.4 or what ever it is because when I use the boa constructor it always says I should downgrade my wxPython 2.5 to 2.4.
Where is the wxpython 2.4? I am desprete
December 17th, 2004, 03:09 AM
This is my config, it was downloaded week ago so it's pretty fresh..
Originally Posted by monkeyman23555
wxPython is Unicode version, maybe you should go for a standard (ASCII?) versio...
December 17th, 2004, 03:12 AM
You're right. Delphi got me used to relatively small execs and distributions. Although, its database support (BDE) is quite large also.
December 17th, 2004, 04:41 AM
where can I get the "wxpythonWIN32-188.8.131.52u-Py23.exe"
Please post a link because i got everything else
December 17th, 2004, 06:42 AM
December 17th, 2004, 03:14 PM
Thanks I'll download it now.
But probably that was to early.
How do i make a distributive thing?
Please give examples