wxPython App Installer in Linux

Hi,

I have knows python for about 3-4 months. My knowledge is still very limited.

I wrote a small app using wxPython. Now, I want to create an installer for it (on Linux platform.) for the people I developed this small utility.

These people use some customized variant of Red Hat Linux. I found on the web python2.4 and the corresponding wxPython files.

How can I write a Installer file which will install all the needed programs in the correct path, so that my wxPython app is ready to run and end user doesn’t need to bother installing required files.

Give me some pointers and I will try to write the script on my own.

Every help is greatly appreciated.

Can anybody give quick pointers on this question.

···

On 8/10/06, Daniel Johnson diffuser78@gmail.com wrote:

Hi,

I have knows python for about 3-4 months. My knowledge is still very limited.

I wrote a small app using wxPython. Now, I want to create an installer for it (on Linux platform.) for the people I developed this small utility.

These people use some customized variant of Red Hat Linux. I found on the web python2.4 and the corresponding wxPython files.

How can I write a Installer file which will install all the needed programs in the correct path, so that my wxPython app is ready to run and end user doesn’t need to bother installing required files.

Give me some pointers and I will try to write the script on my own.

Every help is greatly appreciated.

Look up cx_freeze .

···

"Daniel Johnson" <diffuser78@gmail.com> wrote:

Can anybody give quick pointers on this question.

On 8/10/06, Daniel Johnson <diffuser78@gmail.com> wrote:
>
> Hi,
>
> I have knows python for about 3-4 months. My knowledge is still very
> limited.
>
> I wrote a small app using wxPython. Now, I want to create an installer for
> it (on Linux platform.) for the people I developed this small utility.
>
> These people use some customized variant of Red Hat Linux. I found on the
> web python2.4 and the corresponding wxPython files.
>
> How can I write a Installer file which will install all the needed
> programs in the correct path, so that my wxPython app is ready to run and
> end user doesn't need to bother installing required files.
>
> Give me some pointers and I will try to write the script on my own.
>
> Every help is greatly appreciated.
>
>
>

Daniel Johnson wrote:

Hi,

I have knows python for about 3-4 months. My knowledge is still very limited.

I wrote a small app using wxPython. Now, I want to create an installer for it (on Linux platform.) for the people I developed this small utility.

These people use some customized variant of Red Hat Linux. I found on the web python2.4 and the corresponding wxPython files.

How can I write a Installer file which will install all the needed programs in the correct path, so that my wxPython app is ready to run and end user doesn't need to bother installing required files.

Give me some pointers and I will try to write the script on my own.

Every help is greatly appreciated.

Probably the easiest thing to do is to make a RPM of your app, and provide it and the RPMs for Python and wxPython. If you want to make a bundle that includes everything then look at the cx_Freeze tool.

http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables

···

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

I just had a look at the cx_freeze tool. I tried running the FreezePython executable and got an error that I dont have the file

GLIBC_2.4. I googled it but couldnt find any deb for it.

Any clues how can go about successfully installing and using cx_freeze

···

On 8/11/06, Robin Dunn robin@alldunn.com wrote:

Daniel Johnson wrote:

Hi,

I have knows python for about 3-4 months. My knowledge is still very
limited.

I wrote a small app using wxPython. Now, I want to create an installer

for it (on Linux platform.) for the people I developed this small utility.

These people use some customized variant of Red Hat Linux. I found on
the web python2.4 and the corresponding wxPython files.

How can I write a Installer file which will install all the needed
programs in the correct path, so that my wxPython app is ready to run
and end user doesn’t need to bother installing required files.

Give me some pointers and I will try to write the script on my own.

Every help is greatly appreciated.

Probably the easiest thing to do is to make a RPM of your app, and
provide it and the RPMs for Python and wxPython. If you want to make a

bundle that includes everything then look at the cx_Freeze tool.

http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables


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

cx_freeze has a mailing list. You should ask them about cx_freeze
related issues.

- Josiah

···

"Daniel Johnson" <diffuser78@gmail.com> wrote:

I just had a look at the cx_freeze tool. I tried running the FreezePython
executable and got an error that I dont have the file

GLIBC_2.4. I googled it but couldnt find any deb for it.

Any clues how can go about successfully installing and using cx_freeze

On 8/11/06, Robin Dunn <robin@alldunn.com> wrote:
>
> Daniel Johnson wrote:
> > Hi,
> >
> > I have knows python for about 3-4 months. My knowledge is still very
> > limited.
> >
> > I wrote a small app using wxPython. Now, I want to create an installer
> > for it (on Linux platform.) for the people I developed this small
> utility.
> >
> > These people use some customized variant of Red Hat Linux. I found on
> > the web python2.4 and the corresponding wxPython files.
> >
> > How can I write a Installer file which will install all the needed
> > programs in the correct path, so that my wxPython app is ready to run
> > and end user doesn't need to bother installing required files.
> >
> > Give me some pointers and I will try to write the script on my own.
> >
> > Every help is greatly appreciated.
>
> Probably the easiest thing to do is to make a RPM of your app, and
> provide it and the RPMs for Python and wxPython. If you want to make a
> bundle that includes everything then look at the cx_Freeze tool.
>
> http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables
>
> --
> 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
>
>

How can I make an rpm of my python/wxPython app ? Any clues.

···

On 8/11/06, Robin Dunn robin@alldunn.com wrote:

Daniel Johnson wrote:

Hi,

I have knows python for about 3-4 months. My knowledge is still very

limited.

I wrote a small app using wxPython. Now, I want to create an installer
for it (on Linux platform.) for the people I developed this small utility.

These people use some customized variant of Red Hat Linux. I found on

the web python2.4 and the corresponding wxPython files.

How can I write a Installer file which will install all the needed
programs in the correct path, so that my wxPython app is ready to run

and end user doesn’t need to bother installing required files.

Give me some pointers and I will try to write the script on my own.

Every help is greatly appreciated.

Probably the easiest thing to do is to make a RPM of your app, and

provide it and the RPMs for Python and wxPython. If you want to make a
bundle that includes everything then look at the cx_Freeze tool.


http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables


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

Daniel Johnson wrote:

How can I make an rpm of my python/wxPython app ? Any clues.

The way I learned about building RPMs was to find an RPM that does something similar to what I wanted and then copied the .spec file and tweaked it. You'll also want to read the man pages for rpm and rpmbuild, as well as the RPM book, which is available online in a few places.

···

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

I used the distutils to create .rpm file within the python. Any comments if its good or bad ?

···

On 8/22/06, Robin Dunn < robin@alldunn.com> wrote:

Daniel Johnson wrote:

How can I make an rpm of my python/wxPython app ? Any clues.

The way I learned about building RPMs was to find an RPM that does
something similar to what I wanted and then copied the .spec file and
tweaked it. You’ll also want to read the man pages for rpm and

rpmbuild, as well as the RPM book, which is available online in a few
places.


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

If you can get it to produce output that doesn't clobber your Python
installation (I have had issues with bdist_wininst when using data_files),
then go for it.

Remember to test!

- Josiah

···

"Daniel Johnson" <diffuser78@gmail.com> wrote:

I used the distutils to create .rpm file within the python. Any comments if
its good or bad ?

On 8/22/06, Robin Dunn <robin@alldunn.com> wrote:
>
> Daniel Johnson wrote:
> > How can I make an rpm of my python/wxPython app ? Any clues.
> >
>
> The way I learned about building RPMs was to find an RPM that does
> something similar to what I wanted and then copied the .spec file and
> tweaked it. You'll also want to read the man pages for rpm and
> rpmbuild, as well as the RPM book, which is available online in a few
> places.
>
> --
> 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
>
>