[wxPython] Distribution of wxpython apps

Hello all.

Is there any convenient way to distribute a wxPython application to a "normal" win32 user?
In my case, it is OK to install Python on the users computer, and ActiveState Python can be installed silently on W2k (and on NT if MS Installer is present)

The question is how to distribute wxPython ?
How difficult would it be for a non-guru Python/wxPython developer to repackage wxPython as a MSI package that is possible to run silently?
(I am using InstallShield for MS Installer)

regards,
David

Is there any convenient way to distribute a wxPython
application to a "normal" win32 user?

Use py2exe or McMillan's Installer. Using these you don't have to install
Python or wxPython separatly from your app as they will create a standalone
collection of files you can package with InstallShield or whatever that
includes the Python DLL, a bundle of the compiled .py files your app needs
(your own code as well as anything it imports) as well as any binary
extension modules that are imported by those .py files.

How difficult would it be for a non-guru Python/wxPython
developer to repackage wxPython as a MSI package that is
possible to run silently? (I am using InstallShield for MS
Installer)

If you dan't want to do the above for some reason then it should be easy to
create a custom wxPython installer as nothing fancy is done in the standard
one. Just install everything in and under the wxPython dir and make sure it
is on the PYTHONPATH.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

If you don't want to do the above for some reason then it should be easy

to

create a custom wxPython installer as nothing fancy is done in the

standard

one. Just install everything in and under the wxPython dir and make sure

it

is on the PYTHONPATH.

I was using py2exe but Python is such a great thing that
I fiddled wiht it a bit and have it installed from a shared drive allowing
everyone to use it and any other modules installed on this central copy.

I have one on our NT server for windows users and another on an NFS
share for LINUX users. There are a few problems with shared libraries
now and then (when I upgrade something) but on the whole its pretty good.

The Windows users just have their PATH set to be able to find
Python (via their login script ) and we have our own selection
of modules that are included by setting PYTHONPATH from
the login script as well.

---Gareth Walters
http://www.microforte.com.au
http://www.bigworldgames.com

···

----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Friday, January 04, 2002 5:04 AM
Subject: Re: [wxPython] Distribution of wxpython apps

Is there any convenient way to distribute a wxPython application
to a "normal" win32 user?

I use py2exe, which is available at
http://starship.python.net/crew/theller/py2exe/

I see that he has JUST posted a new version that is compatable with Python
V2.2, which it was not previously. I have built a few wxPython apps with it
and they appear to work just fine. The distribution package is a bit clumsy
but if you have a license for a Win installer kit such as VISE or WISE, you
can hide everything but the program from the user.

(I am using InstallShield for MS Installer)

For some reason I could never get that one to work right. c'este la vie :slight_smile:
(Setup Factory rocks if you can get it)