Skip to main content

Build standalone executables for Windows (python 3 version)

Reason this release was yanked:

broken sdist

Project description

py2exe for Python 3

py2exe is a distutils extension which allows to build standalone Windows executable programs (32-bit and 64-bit) from Python scripts; Python 3.5 and later are supported. It can build console executables and windows (GUI) executables. Building windows services, and DLL/EXE COM servers might work but it is not actively supported.

Development of py2exeis hosted here: https://github.com/py2exe/py2exe.

Changes (from versions 0.9.x)

Version 0.10.0.2:

  • Introduce compatibility with Python 3.5, 3.6, 3.7, and 3.8.
  • Dropped compatibility with Python 3.4 and earlier.
  • New or updated hooks for certifi, numpy, tkinter, socket, ssl, and six.
  • The zipfile option has been removed.
  • runtime: the Python interpreter DLL is no longer altered before being inserted in the executable bundle.
  • Several bugfixes, better error messages.

Installation

pip install py2exe

Using a setup-script

Documentation about the setup-script and other usage tips are in the wiki pages at http://www.py2exe.org.

Using the builder

The build_exe CLI is not actively supported at the moment. Users are encouraged to create their own setup.py files. Documentation on how to use the CLI it can be found here.

Known issues

  • The modulefinder does not fully support PEP420 implicit namespace packages.
  • Building isapi extensions is not supported.
  • Unit tests rely on importlib.find_loader(name, path) which has been deprecated since Python 3.4.
  • High-level methods or hooks to embed Qt plugins in the bundle (needed by PysSide2/PyQt5) are missing.

Credits

Credits to mitre/caldera-py2exe for the original fixes for Python 3.5.

Further informations about the original development of py2exe and other usage guidelines can be found in the original README.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py2exe-0.10.0.2.tar.gz (104.5 kB view hashes)

Uploaded Source

Built Distributions

py2exe-0.10.0.2-cp38-none-win_amd64.whl (144.7 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.0.2-cp38-none-win32.whl (130.2 kB view hashes)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.0.2-cp37-none-win_amd64.whl (144.0 kB view hashes)

Uploaded CPython 3.7 Windows x86-64

py2exe-0.10.0.2-cp37-none-win32.whl (129.7 kB view hashes)

Uploaded CPython 3.7 Windows x86

py2exe-0.10.0.2-cp36-none-win_amd64.whl (143.6 kB view hashes)

Uploaded CPython 3.6 Windows x86-64

py2exe-0.10.0.2-cp36-none-win32.whl (129.6 kB view hashes)

Uploaded CPython 3.6 Windows x86

py2exe-0.10.0.2-cp35-none-win_amd64.whl (143.6 kB view hashes)

Uploaded CPython 3.5 Windows x86-64

py2exe-0.10.0.2-cp35-none-win32.whl (129.6 kB view hashes)

Uploaded CPython 3.5 Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page