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

后端 未结 4 1120
甜味超标
甜味超标 2020-12-03 11:32

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://sour

4条回答
  •  自闭症患者
    2020-12-03 12:23

    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.

提交回复
热议问题