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

  • New module finder mf310 written as a wrapper around CPython modulefinder.ModuleFinder
  • Add support for Python 3.10
  • New hook for scipy
  • zipextimporter can now be built as a standalone extension via its own setup script

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

Uploaded Source

Built Distributions

py2exe-0.11.0.0-cp310-cp310-win_amd64.whl (166.6 kB view details)

Uploaded CPython 3.10 Windows x86-64

py2exe-0.11.0.0-cp310-cp310-win32.whl (147.7 kB view details)

Uploaded CPython 3.10 Windows x86

py2exe-0.11.0.0-cp39-cp39-win_amd64.whl (166.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.11.0.0-cp39-cp39-win32.whl (147.5 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.11.0.0-cp38-cp38-win_amd64.whl (166.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.11.0.0-cp38-cp38-win32.whl (147.5 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.11.0.0-cp37-cp37m-win_amd64.whl (166.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.11.0.0-cp37-cp37m-win32.whl (147.4 kB view details)

Uploaded CPython 3.7m Windows x86

py2exe-0.11.0.0-cp36-cp36m-win_amd64.whl (165.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

py2exe-0.11.0.0-cp36-cp36m-win32.whl (147.3 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0.tar.gz
  • Upload date:
  • Size: 120.0 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.11.0.0.tar.gz
Algorithm Hash digest
SHA256 3109b3f8886ff654f1041290d3d7fd990c3c38d3d2b3c7bb8c40244f1cd51e57
MD5 c765acec8eb9a7c18c19c45749fe38d7
BLAKE2b-256 a1686ad723565845f5e86ad7bf240c3fce3d85fa8895c1115987fff3cb80aa7e

See more details on using hashes here.

File details

Details for the file py2exe-0.11.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.11.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 166.6 kB
  • Tags: CPython 3.10, 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.11.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5bbd86d2c048ffc2bf94035c8b86513724d44714a2d757474c44b07036fad938
MD5 fb2bee968b4aad33bb92ad8f4399098b
BLAKE2b-256 c2d4511f853384c32a3bc824caafcb831bb94d03a607de5a475c8e327fc22031

See more details on using hashes here.

File details

Details for the file py2exe-0.11.0.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: py2exe-0.11.0.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 147.7 kB
  • Tags: CPython 3.10, 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.11.0.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 d1c1c1816feba49fa7201f6dcdbd36d11768c8925fb01d440841641f65e98962
MD5 8366df7a607d04bd9a34cf2d894a863c
BLAKE2b-256 35c0f6df87b1b62c8b82229015c6a10cd339d8dfe688805edcd8a9651ffae847

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 166.3 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.11.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ca47709de3828e13388f5335a38805d110e087ba88734e682dee38883a1cf93a
MD5 0d832b80b96b5d329252df6cfe522181
BLAKE2b-256 a75859998da4863221cb18a3ab0943fd3f36b4496106dce833e8a18d1bf9317d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 147.5 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.11.0.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 80c0f41ced3955ccd2ba5deb60d9daff5dd4d82805a8392549dc22a9fb2232e0
MD5 3be770c73aaefc2885acfd49555ff284
BLAKE2b-256 2b848dee10748a3aad8291c61a5969948c4dc82d7e97f0b444756dde030ffdda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 166.3 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.11.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0003dd1cf82d3f69987b7e1cd6bdb62198de23d2741ea627feb2adaa510b97fc
MD5 0982c58588ccbbfaca6093291688f597
BLAKE2b-256 d391477238bad27d61fc56201d47e63c6ff2d57b1b5550f1d4b2ea32a962cf78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 147.5 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.11.0.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3d9b4c4a22d7caa5fda85e7ddf98591d8ca3d3c30f4d963487a487294f7efc1a
MD5 3b7df3935c8f2d1f33dfa4fcba285f81
BLAKE2b-256 797da4832a9984f717a1daea1fe9a501dc1967736ae062b6b8eb10173c916711

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 166.2 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.11.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4234ad7453e849c8510c9b08eb540e6860dbb5282b07d4259daf0958b7ae8e88
MD5 208e8d223f051b40ed695e00ec1a00d7
BLAKE2b-256 3489506449f35d6cc740f57e6781679cc05e95ceb5d5311d146365cc9e746cb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 147.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.11.0.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 7445160bb277c210091f1bd99fb4e42af81e7580448a75690f9d292e45cad50c
MD5 3224125295f95e60b96d8d7ec0c1f278
BLAKE2b-256 1812b183b0df45b9d4706fcb99dfe93edc941b344c735d04d50b676927a4da84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 165.7 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.11.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 48d1fb4e64bcdd9ad521b752f2ed2d430dee49ad947e082a3e710dbcafe36b56
MD5 73b4c7c49f673c37a8ee8e9bf1a22b6a
BLAKE2b-256 966a470fa4c4f434949cfdc712d7a921ea9667f86bd3bbb7f53ef7f1b1aedc8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.0.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 147.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.11.0.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 749beb8a135e6566ffad4404ae332aefd58da97c6044ca47ec31695e7ade45a5
MD5 8b26883609bd65ee41de69f77735b5e5
BLAKE2b-256 07e1a21c8f478c9d5f92be4dbf4b89d06f489dec8a413e4db21e555feecbd63d

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