Py2exe for Python 3.0

£可爱£侵袭症+ 提交于 2019-11-26 13:40:12

Update 2014-05-15

py2exe for Python 3.x is now released! Get it on PyPI.

Old information

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:

Titusz

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

py2exe for Python3 is out!

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.

If you have easy setup installed, type pip install py2exe in a shell to install.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!