Skip to main content

Build standalone executables for Windows

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 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.

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.4.1.tar.gz (109.2 kB view details)

Uploaded Source

Built Distributions

py2exe-0.10.4.1-cp39-cp39-win_amd64.whl (156.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.4.1-cp39-cp39-win32.whl (137.6 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.4.1-cp38-cp38-win_amd64.whl (156.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.4.1-cp38-cp38-win32.whl (137.6 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl (156.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.10.4.1-cp37-cp37m-win32.whl (137.4 kB view details)

Uploaded CPython 3.7m Windows x86

py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl (155.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

py2exe-0.10.4.1-cp36-cp36m-win32.whl (137.3 kB view details)

Uploaded CPython 3.6m Windows x86

File details

Details for the file py2exe-0.10.4.1.tar.gz.

File metadata

  • Download URL: py2exe-0.10.4.1.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1.tar.gz
Algorithm Hash digest
SHA256 e8aabc8cbf8f1d71342e69091c944f087b99a350963ddcc821b0c517fc12f269
MD5 f6f8bc0bb00ab515c00c7bfe95fe9168
BLAKE2b-256 e3c1d0b691ee557c2bb2c65effd90aaec4375fb959c13851ccbfb1c03bc0bca4

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 156.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a37b6d0f69bddbf763ba53d05d3e376445e1400af5dcabc2f11f64a2b06be3e0
MD5 f5117ddaec2db88bb19b5d7c3443e884
BLAKE2b-256 cd81f0a92e8b7b37f2bfcaec04b76f702157a32d13bf5aab7f24159516f30056

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 137.6 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 0b60574fb7ac1176299ea7b98b03b5d8a3025838f39bce47bb8d89d2babb69f2
MD5 5848bbf43c05bb80293e5708857025f5
BLAKE2b-256 2cbdc393fa210a35f3151ca8b8a9b98b2ea8b7d03bdede43e5aef80bc160d926

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 156.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7c91f6742f27253aae9d1e657bbc543a59534667b916fa6df81e551b137dc631
MD5 fdd06f15d10bccb56f0714c3e916da96
BLAKE2b-256 403867be63a3fcfbcf2f95b193835531dd37c9fd224a09489d378a5d41ac6c46

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 137.6 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 f88e84e33c6eb3fa1ef877803c53763a0228c4a02636c4131c8202048b5f0c60
MD5 50af819839711286cf4ce5382fc5cfee
BLAKE2b-256 27e051728b89bf9770cc749e957b63fa7415b08e5ac50ff98155085ac4ceeb87

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 156.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 23f5c5e1566c5ce45e648c8d7f54cfabf8b7ef95089898101fdd79e09401ab10
MD5 bb312dadd043d1608c855fc52773f01d
BLAKE2b-256 a979c078d92687d99aa5c86cbd678ea98f596b05c28e57a48b8039d200ebb3a5

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 137.4 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 2dc42b48a7069db183fd463960ade83ec3adaaadb3f93995dc415e2c6bad00f8
MD5 de3012027f00867694c641507abe649e
BLAKE2b-256 6231ba82a5818acb149b8078e939fe488c667bdec43214050bbbda3483f3081b

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 155.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 856cf556d03152c6f34f74e8c7309f20350226208a863a0079e73b56c0e39450
MD5 8e2a075c2c00b8267766d9ac748d2bb0
BLAKE2b-256 75de9cb7e2d969e205dd17140fd767264feb109a942fbbdfb430028b69ba1854

See more details on using hashes here.

File details

Details for the file py2exe-0.10.4.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: py2exe-0.10.4.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 137.3 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using 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

File hashes

Hashes for py2exe-0.10.4.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 61b008e57bde38d2815a8f383cd47ddedf04e44697288311578649dc4e5671d5
MD5 b1a09e0ec3f44471a6c239a7f1e4e8a9
BLAKE2b-256 ae6257aaaa175309d45a621e509cd84b8de01838ff566d8e333a02e64bc08de3

See more details on using hashes here.

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