473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Experiences with Py2Exe

Hi,

I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.

The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that will
contain GUI. I was thinking on using wxPython for the GUI, so I was
wondering how well behaves Py2Exe with the wxPython module.

Other modules I use besides the standard modules are CTypes and the
Perforce python module p4.py. I try not to use any of the win32 stuff,
but I can see how I will have to for some utilitites, so if anyone has
experience with the win32 modules and Py2Exe, any feedback will be
highly appreciated.

Thanks,

Isaac.

Oct 11 '06 #1
9 3616
Isaac Rodriguez wrote:
Hi,

I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.

The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that will
contain GUI. I was thinking on using wxPython for the GUI, so I was
wondering how well behaves Py2Exe with the wxPython module.
I did a project with wxPython and py2exe. Just great :-) I also used
Inno Setup (http://www.jrsoftware.org/isinfo.php) to create an
installer. You should be able to learn/use both in one day.
Other modules I use besides the standard modules are CTypes and the
Perforce python module p4.py. I try not to use any of the win32 stuff,
but I can see how I will have to for some utilitites, so if anyone has
experience with the win32 modules and Py2Exe, any feedback will be
highly appreciated.

Thanks,

Isaac.
Oct 11 '06 #2
Hi Isaac,
Isaac Rodriguez wrote:
Hi,

I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.

The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that will
contain GUI. I was thinking on using wxPython for the GUI, so I was
wondering how well behaves Py2Exe with the wxPython module.
My experiences with Py2Exe and wxPython are very good. In fact, the
samples included with Py2Exe include some wxPython samples.

It's also possible to get PyGTK working with Py2exe, but it's a bit
more convoluted. However, the examples on the PyGTK and esp. Py2exe
websites should get you there.

What was more difficult was Amara, but with some tweaking even that
eventually worked.

I have no experience with CTypes, so I can only assume that it will
work... p4.py might be more reason to worry but you'd have to ask
around or try.

PythonWin was painless, no issues at all getting pythonwin/com etc.
stuff to work.
Other modules I use besides the standard modules are CTypes and the
Perforce python module p4.py. I try not to use any of the win32 stuff,
but I can see how I will have to for some utilitites, so if anyone has
experience with the win32 modules and Py2Exe, any feedback will be
highly appreciated.

Thanks,

Isaac.
Oct 11 '06 #3
Isaac Rodriguez wrote:
Hi,

I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.

The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that will
contain GUI. I was thinking on using wxPython for the GUI, so I was
wondering how well behaves Py2Exe with the wxPython module.

Other modules I use besides the standard modules are CTypes and the
Perforce python module p4.py. I try not to use any of the win32 stuff,
but I can see how I will have to for some utilitites, so if anyone has
experience with the win32 modules and Py2Exe, any feedback will be
highly appreciated.

Thanks,

Isaac.
I've used py2exe extensively over the last couple of years to package up
everything from console apps to Windows services. I've found it to work
extremely well and it produces something that is easily distributable on Windows
platform. In addition to py2exe I also employ Inno Setup
(http://www.jrsoftware.org/isinfo.php) to create a Windows installer for my
applications. Inno can take care of myriad of installation "stuff" that must be
done to make a Windows app easy to distribute for "Windows users". This
combination works VERY well.

It takes a little practice, but it works just fine with wxPython, win32all
extensions, ctypes, etc. If I'm not mistaken, author of ctypes (Thomas Heller)
and py2exe are the same person). I can't speak to Perforce python module as
I've never used it myself. Start with a small console app and them move on to
more complex applications. You may want to take a look at the py2exe newsgroup
(gmane.comp.python.py2exe) for any questions.

-Larry Bates
Oct 11 '06 #4
>
I did a project with wxPython and py2exe. Just great :-) I also used
Inno Setup (http://www.jrsoftware.org/isinfo.php) to create an
installer. You should be able to learn/use both in one day.
Do you have a specific reason for using Inno Setup and not a Windows
Installer based setup? Will Inno Setup play especially well with py3exe
or was it just the learning curve of using a Windows Installer setup?

I am asking this because I have a lot of experience using the Windows
Installer service, and I also have all the productivity tools available
to create an installer for my tools if I needed to, but now I am
curious about this Inno Setup.

Thanks,

Isaac.

Oct 11 '06 #5
Isaac Rodriguez wrote:
>I did a project with wxPython and py2exe. Just great :-) I also used
Inno Setup (http://www.jrsoftware.org/isinfo.php) to create an
installer. You should be able to learn/use both in one day.

Do you have a specific reason for using Inno Setup and not a Windows
Installer based setup? Will Inno Setup play especially well with py3exe
or was it just the learning curve of using a Windows Installer setup?

I am asking this because I have a lot of experience using the Windows
Installer service, and I also have all the productivity tools available
to create an installer for my tools if I needed to, but now I am
curious about this Inno Setup.

Thanks,

Isaac.
Inno Setup (like Python) is open source so there is no cost.
Normally you have to purchase something to get the Windows Installer.
Since you have the source code (rarely needed because Inno is so
powerful and configurable), you aren't at the mercy of the Windows
Installer (unless they now give it away and I missed something).
I don't think Inno is especially suited for py2exe apps, it just
works very well, is free, and seems to do everything people want in
an installer.

-Larry Bates
Oct 11 '06 #6
Isaac Rodriguez wrote:
>I did a project with wxPython and py2exe. Just great :-) I also used
Inno Setup (http://www.jrsoftware.org/isinfo.php) to create an
installer. You should be able to learn/use both in one day.

Do you have a specific reason for using Inno Setup and not a Windows
Installer based setup? Will Inno Setup play especially well with py3exe
or was it just the learning curve of using a Windows Installer setup?

I am asking this because I have a lot of experience using the Windows
Installer service, and I also have all the productivity tools available
to create an installer for my tools if I needed to, but now I am
curious about this Inno Setup.

Thanks,

Isaac.
The main reason for using Inno Setup is that it is free. Then I quickly
saw that it is powerful and easy to use. And I don't like Microsoft too
much in general, and that's also one of the reasons why I preferred to
stay away from MSI...

I've never used py3exe though, and I can't find an homepage about it, so
I don't know how it is related to py2exe...
Oct 12 '06 #7
Antoine De Groote <an*****@vo.luwrites:
Isaac Rodriguez wrote:
Do you have a specific reason for using Inno Setup and not a
Windows Installer based setup?

The main reason for using Inno Setup is that it is free. Then I
quickly saw that it is powerful and easy to use. And I don't like
Microsoft too much in general, and that's also one of the reasons
why I preferred to stay away from MSI...
To clarify, Inno Setup is released under a free-software license:

<URL:http://www.jrsoftware.org/files/is/license.txt>

which makes it a better bet than non-free software as infrastructure
to build upon.

--
\ "Nothing in life is so exhilarating as to be shot at without |
`\ result." -- Winston Churchill |
_o__) |
Ben Finney

Oct 12 '06 #8
Isaac Rodriguez wrote:
I am asking this because I have a lot of experience using the Windows
Installer service, and I also have all the productivity tools available
to create an installer for my tools if I needed to
just go ahead and use it.

py2exe generates an EXE and (usually) a bunch of related files:

http://www.py2exe.org/index.cgi/FAQ

any tool that can wrap that up and install it on another machine works
just fine.

</F>

Oct 12 '06 #9
MaR
We use py2exe on regular basis for most of our app's, both for internal
and external distribution.
We then pack it to an installer using NSIS
(http://nsis.sourceforge.net/Main_Page) which is also free :o)

Oct 12 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: RJS | last post by:
Hi all, I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32- py2.2). Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222. In the sample below, commenting out...
1
by: | last post by:
I want a binnary file to my aplicattion, but py2exe don't match the xmll.sax module. the py2exe shows this errors: warning: py2exe:...
2
by: Stefan Behrens | last post by:
Hi, does anybody know how I can get py2exe to work with wxPython's wxCalendarCtrl? Currently, I have just a "standard" setup.py, and py2exe gives me a syntax error. Do I need to include any...
0
by: Kathleen Kudzma | last post by:
I'm having a problem with py2exe for Python 2.3. I got fixed the Lookuperror no codec search functions registered: can't find encoding by following the instructions on the py2exe page (added...
8
by: Kathleen Kudzma | last post by:
Does anyone know how to resolve the following problem that I'm getting in Python 2.2 and 2.3? PROBLEM: When I try to create a classReader object I get an exception: "SAXReaderNotAvailable: No...
0
by: Steven Bell | last post by:
I am trying to build an executable from a python script. Using python 2.3, SOAPpy 0.10.3, Py2exe 0.4.2. Build command: python setup.py py2exe -w --includes xml.sax.drivers2.drv_py I get the...
6
by: Luc Saffre | last post by:
Hello, I had a strange problem when freezing (using either py2exe or McMillan installer) a script that imports reportlab (which imports PIL (which imports FixTk))). - Python 2.3.3c (also with...
0
by: Larry Bates | last post by:
Jimmy Retzlaff wrote: Everyone, Thanks for all your hard work on py2exe, it is greatly appreciated. -Larry Bates
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.9 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.