stand alone applications?

Hello, I am writing a python application for my company that we will
need to give to our customers. I am new with this stuff and I have a
few questions:

1) I have the application written in python - how do I give it to my
customers as a stand alone package (i.e., without asking my customers to
download python or anything else)?

2) How is installation handled? I would like to deliver just one
executable file to my users - if I have to use an installation process
where can I learn how to do this?

Thanks.

Jeff

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Tuesday, July 06, 2004 9:20 AM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Standard event identifiers

ZULIANI Thomas wrote:

Hello,

I'd like to know what are the standard event identifiers for Python.

I'm

trying to catch the "wx.ID_CLOSE_FRAME" but it does not seem to work

at

all.

Except in very few cases (Ok and Cancel buttons, etc.) the standard IDs
are not used in the library but are there for you to use as you see the
need for them. So you'll need to have a menu item or whatever with an
id of wx.ID_CLOSE_FRAME in order to receive a matching event for it.

If you are wanting to catch the actual close event then just bind a
handler to wx.EVT_CLOSE.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hey,

I use py2exe to create an executable and then inno setup to create an
installer.
This is for creating an installer for windows. I'm sure the mac/linux gurus
out there can help you out on installation techniques for those platforms.

py2exe can be found at:
http://starship.python.net/crew/theller/py2exe/

inno setup at:
http://www.jrsoftware.org/isdl.php

Cheers,

Mike

···

-----Original Message-----
From: Jeff Peery [mailto:jeffp@seametrics.com]
Sent: July 6, 2004 10:49 AM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] stand alone applications?

Hello, I am writing a python application for my company that we will
need to give to our customers. I am new with this stuff and I have a
few questions:

1) I have the application written in python - how do I give it to my
customers as a stand alone package (i.e., without asking my customers to
download python or anything else)?

2) How is installation handled? I would like to deliver just one
executable file to my users - if I have to use an installation process
where can I learn how to do this?

Thanks.

Jeff

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Tuesday, July 06, 2004 9:20 AM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Standard event identifiers

ZULIANI Thomas wrote:

Hello,

I'd like to know what are the standard event identifiers for Python.

I'm

trying to catch the "wx.ID_CLOSE_FRAME" but it does not seem to work

at

all.

Except in very few cases (Ok and Cancel buttons, etc.) the standard IDs
are not used in the library but are there for you to use as you see the
need for them. So you'll need to have a menu item or whatever with an
id of wx.ID_CLOSE_FRAME in order to receive a matching event for it.

If you are wanting to catch the actual close event then just bind a
handler to wx.EVT_CLOSE.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Like everyone else, I think that py2exe is an indispensable
tool for writing win32 apps.

I've been using py2exe on-and-off for several years. At first
I was a bit embarassed that my 90 line wxPython program
required 10MB of disk space to install and took a rather long
time to start up.

Then I realized that in the windows world, a 10MB filesystem
footprint and 10-second startup time _is_ small and fast.

···

--
Grant Edwards
grante@visi.com

Grant Edwards wrote:

I've been using py2exe on-and-off for several years. At first
I was a bit embarassed that my 90 line wxPython program
required 10MB of disk space to install and took a rather long
time to start up.

Then I realized that in the windows world, a 10MB filesystem
footprint and 10-second startup time _is_ small and fast.

Note also that modulefinder (used by all the freezing tools)
finds every module that could be used. If you have code like
this:

   if False: import chunky

Then you will also get the chunky module despite seeing that it
can't be used. You can trim some stuff this way (eg getting
rid of win9xpopen.exe and _ssl.pyd).

The realy nice bit I like is that the resulting files don't
have anything that has to be dumped in the windows\system
directory.

And it also all "just works" :slight_smile:

Roger