11

How can I turn a python 3.3 script into executable file? I found PyInstaller and py2exe, but all did not support 3.3.

http://www.pyinstaller.org/

http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/

Both of these tools support 2.7 at most. But my script is written in 3.3.

And I searched the forum posts all pointed to old tools that did not support 3.3.

Dennisboys
  • 583
  • 3
  • 9
  • 22
  • Duplicate of [Python 3.0.1 Executable Creator](http://stackoverflow.com/questions/702395/python-3-0-1-executable-creator), since in your question the problem is that py2exe/pyinstaller only support python up to 2.7 – Bakuriu May 27 '13 at 10:39
  • possible duplicate of [Py2exe for Python 3.0](http://stackoverflow.com/questions/505230/py2exe-for-python-3-0) – jfs Apr 12 '14 at 16:31
  • 3
    Possible duplicate of [How do I compile my Python 3 app to an .exe?](http://stackoverflow.com/questions/17907258/how-do-i-compile-my-python-3-app-to-an-exe) – Cees Timmerman May 18 '17 at 14:25

4 Answers4

5

Here is the link for the Python 3 version of py2exe.

http://sourceforge.net/p/py2exe/svn/HEAD/tree/trunk/py2exe-3/

Hope this is helpful.

wookie
  • 329
  • 1
  • 5
  • 13
3

You can use cx_Freeze with Python 3.3. http://cx-freeze.sourceforge.net/

0

Have you had a look at the Python 3.3 documentation? Specifically for Creating Build Distributions and Creating Windows Installers

From the docs:

Since the metadata is taken from the setup script, creating Windows installers is usually as easy as running:

python setup.py bdist_wininst

or the bdist command with the --formats option:

python setup.py bdist --formats=wininst

This does presume you have a setup.py file however.

Community
  • 1
  • 1
Ewan
  • 14,592
  • 6
  • 48
  • 62
  • 14
    I believe the OP is not asking how to write an installer, but how to write a `.exe` that can be run without installation. – Bakuriu May 27 '13 at 10:37
  • @Bakuriu Well, OP may choose to add `--format=zip` option to the build command, which will provide a `.zip` distribution. – B.K. Jan 25 '15 at 06:12
0

Py2exe is now available for python3 also, download

moovon
  • 2,219
  • 1
  • 17
  • 15