Skip to main content

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 versions included in the official development cycle are supported (from 3.6 to 3.9 included). py2exe 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 py2exe is hosted here: https://github.com/py2exe/py2exe.

Changes

Detailed changelog is published on GitHub.

Version 0.10.4.1:

  • ModuleFinder: add support for the pkg_resources.extern.VendorImporter loader
  • New hooks for pkg_resources and infi

Version 0.10.4.0:

  • zipextimporter supports external modules that use multi-phase initialization (PEP 489)
  • New hook for selenium
  • dllfinder provides a new method to add data files in the zip archive

Version 0.10.3.1:

  • New hook for pycryptodomex
  • ModuleFinder: respect excludes list in import_package
  • Updated hook for matplotlib >= 3.4.0

Version 0.10.3.0:

  • New hook for supporting matplotlib 3.2 and higher.
  • Fix for including implicit namespace packages as per PEP420.

Version 0.10.2.1:

  • Patch MyLoadLibrary to support ssl with bundle_files=0.

Version 0.10.2.0:

  • New module finder with support for implicit namespace packages (PEP 420).
  • DLLFinder automatically excludes VC++ redist and Windows CRT DLLs from bundles.
  • Several fixes for bundling software with bundle_files<=2 (only the standard library is supported, other dependencies may or may not work).
  • New hooks for pycryptodome and shapely.

Version 0.10.1.0:

  • Add support for Python 3.9.
  • Drop support for Python 3.5.
  • New hooks for urllib3 and pandas.

Version 0.10.0.2 (from versions 0.9.x):

  • Introduce compatibility with Python 3.5, 3.6, 3.7, and 3.8.
  • Drop compatibility with Python 3.4 and earlier.
  • New or updated hooks for certifi, numpy, tkinter, socket, ssl, and six.
  • build_exe: the zipfile=None 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 can be found here.

Known issues

  • Building isapi extensions is not supported.
  • High-level methods or hooks to embed Qt plugins in the bundle (needed by PySide2/PyQt5) are missing.

Credits

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

Metadata

Release files for py2exe 0.10.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py2exe 0.10.4.1
File Size Uploaded Provenance Actions
py2exe-0.10.4.1.tar.gz 109.2 kB Without provenance Details for py2exe-0.10.4.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for py2exe 0.10.4.1
File Actions
py2exe-0.10.4.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for py2exe-0.10.4.1-cp39-cp39-win_amd64.whl
py2exe-0.10.4.1-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details for py2exe-0.10.4.1-cp39-cp39-win32.whl
py2exe-0.10.4.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for py2exe-0.10.4.1-cp38-cp38-win_amd64.whl
py2exe-0.10.4.1-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details for py2exe-0.10.4.1-cp38-cp38-win32.whl
py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl
py2exe-0.10.4.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for py2exe-0.10.4.1-cp37-cp37m-win32.whl
py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl
py2exe-0.10.4.1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for py2exe-0.10.4.1-cp36-cp36m-win32.whl

Total release size: 1.3 MB

Release files / py2exe-0.10.4.1.tar.gz

Download URL py2exe-0.10.4.1.tar.gz
Size 109.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e8aabc8cbf8f1d71342e69091c944f087b99a350963ddcc821b0c517fc12f269
BLAKE2b-256 checksum
How to use checksums
e3c1d0b691ee557c2bb2c65effd90aaec4375fb959c13851ccbfb1c03bc0bca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp39-cp39-win_amd64.whl

Download URL py2exe-0.10.4.1-cp39-cp39-win_amd64.whl
Size 156.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a37b6d0f69bddbf763ba53d05d3e376445e1400af5dcabc2f11f64a2b06be3e0
BLAKE2b-256 checksum
How to use checksums
cd81f0a92e8b7b37f2bfcaec04b76f702157a32d13bf5aab7f24159516f30056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp39-cp39-win32.whl

Download URL py2exe-0.10.4.1-cp39-cp39-win32.whl
Size 137.6 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
0b60574fb7ac1176299ea7b98b03b5d8a3025838f39bce47bb8d89d2babb69f2
BLAKE2b-256 checksum
How to use checksums
2cbdc393fa210a35f3151ca8b8a9b98b2ea8b7d03bdede43e5aef80bc160d926
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp38-cp38-win_amd64.whl

Download URL py2exe-0.10.4.1-cp38-cp38-win_amd64.whl
Size 156.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
7c91f6742f27253aae9d1e657bbc543a59534667b916fa6df81e551b137dc631
BLAKE2b-256 checksum
How to use checksums
403867be63a3fcfbcf2f95b193835531dd37c9fd224a09489d378a5d41ac6c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp38-cp38-win32.whl

Download URL py2exe-0.10.4.1-cp38-cp38-win32.whl
Size 137.6 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
f88e84e33c6eb3fa1ef877803c53763a0228c4a02636c4131c8202048b5f0c60
BLAKE2b-256 checksum
How to use checksums
27e051728b89bf9770cc749e957b63fa7415b08e5ac50ff98155085ac4ceeb87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl

Download URL py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl
Size 156.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
23f5c5e1566c5ce45e648c8d7f54cfabf8b7ef95089898101fdd79e09401ab10
BLAKE2b-256 checksum
How to use checksums
a979c078d92687d99aa5c86cbd678ea98f596b05c28e57a48b8039d200ebb3a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp37-cp37m-win32.whl

Download URL py2exe-0.10.4.1-cp37-cp37m-win32.whl
Size 137.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2dc42b48a7069db183fd463960ade83ec3adaaadb3f93995dc415e2c6bad00f8
BLAKE2b-256 checksum
How to use checksums
6231ba82a5818acb149b8078e939fe488c667bdec43214050bbbda3483f3081b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl

Download URL py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl
Size 155.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
856cf556d03152c6f34f74e8c7309f20350226208a863a0079e73b56c0e39450
BLAKE2b-256 checksum
How to use checksums
75de9cb7e2d969e205dd17140fd767264feb109a942fbbdfb430028b69ba1854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / py2exe-0.10.4.1-cp36-cp36m-win32.whl

Download URL py2exe-0.10.4.1-cp36-cp36m-win32.whl
Size 137.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
61b008e57bde38d2815a8f383cd47ddedf04e44697288311578649dc4e5671d5
BLAKE2b-256 checksum
How to use checksums
ae6257aaaa175309d45a621e509cd84b8de01838ff566d8e333a02e64bc08de3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for py2exe 0.10.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.4.1 This release

9 release files No provenance

0.6.9

0.6.8

0.6.6

0.6.5

0.6.3

0.6.1

0.5.2

0.5.0

0.3.4

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page