I'm slowly getting tired maintaining py2exe. It is far from perfect,
although it has interesting features (I would say).
The problem, apart from the work, is that it is good enough for me - I
can do everything that I need with it. But I assume I use far less
libaries than other Python programmers, so a lot of bugs will never bite
me.
It is also interesting that the recently introduced bundle-files option,
which allows to build single-file exes has gained a lot of interest -
although the ONLY use case (so far) I have myself for it is to implement
inproc COM servers which will compatible with Python clients (and other
Python inproc COM servers) because of the total isolation of the Python
VMs.
Is anyone interested in taking over the maintainance, documentation, and
further development?
Should py2exe be integrated into another, larger, package? Pywin32
comes to mind, but also Philip Eby's setuptools (that's why I post to
distutils-sig as well)...
Thomas 13 2325
What about PyInstaller that was announced the other day? The feature
list looks great, and it appears the developers intend to maintain and
enhance the program indefinitely. http://groups.google.com/group/comp....3da383c1749d9f http://pyinstaller.hpcf.upr.edu/pyinstaller
Feature highlights:
* Packaging of Python programs into standard executables, that work on
computers without Python installed.
* Multiplatform: works under Windows, Linux and Irix.
* Multiversion: works under any version of Python since 1.5.
* Dual packaging mode:
* Single directory: build a directory containing an executable plus
all
the external binary modules (.dll, .pyd, .so) used by the program.
* Single file: build a single executable file, totally
self-contained,
which runs without any external dependency.
* Support for automatic binary packing through the well-known UPX
compressor.
* Optional console mode (see standard output and standard error at
runtime).
* Selectable executable icon (Windows only).
* Fully configurable version resource section in executable (Windows
only).
* Support for building COM servers (Windows only).
On Tuesday 20 September 2005 11:43, Steve M wrote: What about PyInstaller that was announced the other day? The feature list looks great, and it appears the developers intend to maintain and enhance the program indefinitely.
.... http://pyinstaller.hpcf.upr.edu/pyinstaller
That's one short "indefinitely":
Not Found
The requested URL /pyinstaller was not found on this server.
Apache/2.0.53 (Fedora) Server at pyinstaller.hpcf.upr.edu Port 80
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095 http://www.jamesstroud.com/
James Stroud wrote:
[snip] http://pyinstaller.hpcf.upr.edu/pyinstaller
That's one short "indefinitely":
Not Found The requested URL /pyinstaller was not found on this server. Apache/2.0.53 (Fedora) Server at pyinstaller.hpcf.upr.edu Port 80
It seems that the URL is http://pyinstaller.hpcf.upr.edu
From the website it seems this is a continuation of McMillan Installer,
which they claim is "far superior" to py2exe! Personally I gave up on
MMI, prefering py2exe on Windows and cx_Freeze on UNIX.
And if they want to use UPX, well that's up to them, but I've had some
problems with it and don't particularly like the thought of runtime
decompression and the two process thing. And when you can compress the
distributable using 7zip or whatever, why bother keeping it compressed
once downloaded?
Ah well, I wish you, whoever takes over py2exe and the PyInstaller guys
the best of luck!
Steve M wrote:
[snip] * Dual packaging mode: * Single directory: build a directory containing an executable plus all the external binary modules (.dll, .pyd, .so) used by the program. * Single file: build a single executable file, totally self-contained, which runs without any external dependency.
[snip]
I've never used pyinstaller but even though it can create a single
executable file, doesn't it still write files out to the filesystem to a
temp directory for actual execution? Then cleans them up when the
application quits?
Whereas py2exe can create an executable that NEVER writes any files out
to the filesystem, they are loaded instead directly from the executable?
If so then that's a major difference and IMHO the py2exe method is superior.
Thomas Heller wrote:
[snip] Is anyone interested in taking over the maintainance, documentation, and further development?
Should py2exe be integrated into another, larger, package? Pywin32 comes to mind, but also Philip Eby's setuptools (that's why I post to distutils-sig as well)...
IMHO, it would be nice if the same folks (or groups working closely
together) maintained both py2exe AND py2app. Then they could share some
code and concepts, create a unified and *consistent* solution on all
supported platforms, etc. Perhaps even creating a Linux version, with
all 3 versions working identically...
James Stroud wrote: What about PyInstaller that was announced the other day? The feature list looks great, and it appears the developers intend to maintain and enhance the program indefinitely. ... http://pyinstaller.hpcf.upr.edu/pyinstaller
That's one short "indefinitely":
Not Found The requested URL /pyinstaller was not found on this server. Apache/2.0.53 (Fedora) Server at pyinstaller.hpcf.upr.edu Port 80
Yes, we had a short offline period today due to maintenance on the server,
sorry for that.
--
Giovanni Bajo
Simon John wrote: And if they want to use UPX, well that's up to them, but I've had some problems with it and don't particularly like the thought of runtime decompression and the two process thing.
UPX compression is totally optional, and it is even disabled by default. For
the log, I have been using UPX for many, many years and never had a problem
whatsoever, but surely there had been bugs.
Nonetheless, if you are so worried about it, I wonder how you can feel
comfortable with py2exe loading up DLLs with his own version of LoadLibrary. It
looks like potentially much more dangerous to me. Or maybe you never build
single-file distributions and you go with single-dir distributions... in which
case there is no "two process" thing.
And when you can compress the distributable using 7zip or whatever, why bother keeping it compressed once downloaded?
Some people like the idea of "absolutely no installation process needed".
--
Giovanni Bajo
Bugs wrote: Whereas py2exe can create an executable that NEVER writes any files out to the filesystem, they are loaded instead directly from the executable? If so then that's a major difference and IMHO the py2exe method is superior.
To do this, py2exe uses a manually rewritten version of LoadLibrary (the win32
api call in charge of loading DLLs). Since nobody has access to the original
source code of LoadLibrary (across all Windows version), the rewritten version
is by definition incomplete and less stable; it might also be not forward
compatible (that is, your shipped application may break on Windows Vista, or if
you package applications compiled with newer Visual Studio versions).
So it's a trade-off problem. I'm not a fan of writing temporary files to disk,
but surely I prefer this to a potential compatibility headache; an executable
built by PyInstaller will dump some stuff into your temp directory, but it
won't run into compatibility problem when run on that computer or with that
DLL. Anyway, I'm not against adding things to PyInstaller in principle: if
there is enough request for such a feature, we might as well add it.
--
Giovanni Bajo
keithlackey enlightened us with: def __init__(self, folders = []): self.folders = folders
Read all about this very common mistake at http://docs.python.org/tut/node6.htm...00000000000000
def add_folder(self, folder): self.folders.append(tuple(folder))
The line above has a combination of spaces and tabs. Use either spaces
or tabs, but not both, to indent your code.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Any luck on finding anyone to take over py2exe development Thomas? It's
a GREAT project and would be a shame to see it fall into obsolescence.
Thomas Heller wrote:
[snip] Is anyone interested in taking over the maintainance, documentation, and further development?
[snip]
Bugs <do**@spam.me> writes: Any luck on finding anyone to take over py2exe development Thomas? It's a GREAT project and would be a shame to see it fall into obsolescence.
No, nobody stepped up (yet).
Thomas
What do you think of the idea of putting both py2exe AND py2app under
the same umbrella? I don't know what the status of py2app is or who
maintains it but I was thinking that it would be ideal if the 2
utilities could share code, ideas, protocols, etc. Seems like this
synergy and consistency would be very beneficial. Perhaps then a Linux
version could be developed with an identical inferface.
Thomas Heller wrote: Bugs <do**@spam.me> writes:
Any luck on finding anyone to take over py2exe development Thomas? It's a GREAT project and would be a shame to see it fall into obsolescence.
No, nobody stepped up (yet).
Thomas
> Thomas Heller wrote: Bugs <do**@spam.me> writes:
Any luck on finding anyone to take over py2exe development Thomas? It's a GREAT project and would be a shame to see it fall into obsolescence. No, nobody stepped up (yet). Thomas
Bugs <do**@spam.me> writes:
What do you think of the idea of putting both py2exe AND py2app under the same umbrella? I don't know what the status of py2app is or who maintains it but I was thinking that it would be ideal if the 2 utilities could share code, ideas, protocols, etc. Seems like this synergy and consistency would be very beneficial. Perhaps then a Linux version could be developed with an identical inferface.
That's not a bad idea. Philip Eby even suggested to put something like
py2exe's modulefinder (well, it's really Python's) and py2app's
modulegraph into his setuptools package - although I didn't respond at
that time.
Anyway, these are changes that I don't want to do myself. Whoever wants
to start that feel free...
Thomas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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:...
|
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...
|
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...
|
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...
|
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...
|
by: Larry Bates |
last post by:
Jimmy Retzlaff wrote:
Everyone,
Thanks for all your hard work on py2exe, it is greatly appreciated.
-Larry Bates
|
by: Pekeika |
last post by:
Good morning group,
When I open my Python window, this is appearing instead of the command
line >>>. (I'm somehow new to Python).
File "boot_com_servers.py", line 21, in <module>
File...
|
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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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
|
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...
| |