I am looking for a Python3.0 version of "py2exe". I tried running 2to3 on the source for py2exe but the code remained broken.
Any ideas?
I am looking for a Python3.0 version of "py2exe". I tried running 2to3 on the source for py2exe but the code remained broken.
Any ideas?
py2exe for Python 3.x is now released! Get it on PyPI.
Have a look at the py2exe SourceForge project SVN repository at:
http://py2exe.svn.sourceforge.net/
The last I looked at it, it said the last update was August 2009. But keep an eye on that to see if there's any Python 3 work in-progress.
I've also submitted two feature requests on the py2exe tracker. So far, no feedback on them:
Did you check out cx_Freeze? It seems to create standalone executables from your Python scripts, including support for Python 3.0 and 3.1
Here is the original bug report:
http://sourceforge.net/projects/py2exe/
Here is the comment mentioning the release:
http://sourceforge.net/projects/py2exe/
Here is the package on pypi:
https://pypi.python.org/pypi/py2exe/0.9.2.0
Note that py2exe for Python 3 only supports Python 3.3 and above!
A huge thank you to the py2exe development team!
The py2exe
and 2to3
programs serve completely different purposes, so I'm not sure what your ultimate goal is.
If you want to build an executable from a working Python program, use the version of py2exe
that is suitable for whichever Python you are using (version 2 or version 3).
If you want to convert an existing Python 2 program to Python 3, use 2to3
plus any additional editing as necessary. The Python 3 documentation describes the conversion process in more detail.
Update: I now understand that you might have been trying to run 2to3
against py2exe
itself to try to make a Python 3 compatible version. Unfortunately, this is definitely beyond the capabilities of 2to3
. You will probably have to wait for the py2exe project to release a Python 3 compatible version.