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 py2exeis hosted here: https://github.com/py2exe/py2exe.

Changes

Detailed changelog is published on GitHub.

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

Uploaded Source

Built Distributions

py2exe-0.10.2.1-cp39-none-win_amd64.whl (141.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.2.1-cp39-none-win32.whl (133.7 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.2.1-cp38-none-win_amd64.whl (141.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.2.1-cp38-none-win32.whl (133.8 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.2.1-cp37-none-win_amd64.whl (141.6 kB view details)

Uploaded CPython 3.7 Windows x86-64

py2exe-0.10.2.1-cp37-none-win32.whl (133.6 kB view details)

Uploaded CPython 3.7 Windows x86

py2exe-0.10.2.1-cp36-none-win_amd64.whl (141.3 kB view details)

Uploaded CPython 3.6 Windows x86-64

py2exe-0.10.2.1-cp36-none-win32.whl (133.5 kB view details)

Uploaded CPython 3.6 Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.10.2.1.tar.gz
  • Upload date:
  • Size: 106.4 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.2.1.tar.gz
Algorithm Hash digest
SHA256 e5dc26fd1cf9d6c8f0150b633f5ed6c906a62ddaf3d8e3b7068b34249cfd0779
MD5 b5a56ab7a5454ddb3639624a9f4be488
BLAKE2b-256 a32e66f68e088741f84524b9d3072b492d671a5750fc7ebb65aa89218cbce5f7

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp39-none-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 141.7 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.2.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 8bc13bd5e219913454fdb6094ef564315bb2eab3d4f4199b132467e06430c7f6
MD5 80ddf7014b34798c269ff8dba29a3766
BLAKE2b-256 f094142499358914c36d35d9b029ab42e64acc0d652086573cd058fee38b081f

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp39-none-win32.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp39-none-win32.whl
  • Upload date:
  • Size: 133.7 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.2.1-cp39-none-win32.whl
Algorithm Hash digest
SHA256 de056fb4b8f0fe6674091a58c78628a34f24fe4fa0af3b02e2ba4e74320a4f95
MD5 1d1d911f2df0381df12dc8f793048dea
BLAKE2b-256 27730b47dd405044f39c6a229a77cc7a50679fe78c66e499265ca4c36ef89760

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp38-none-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 141.8 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.2.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 4fe9871db013565b9e7aa52644d11495769047f35a436a28d88c51347ca2679d
MD5 2e2f137643da9de01bb41ed02be03c7e
BLAKE2b-256 55abba4199dc6d26f424a331e14e327f95f6151d1451f8a20a65dac0923c3654

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp38-none-win32.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp38-none-win32.whl
  • Upload date:
  • Size: 133.8 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.2.1-cp38-none-win32.whl
Algorithm Hash digest
SHA256 9c05a83e87544c8b10561a5ff328743826528eea4b5be2394f9b1d31916b7b26
MD5 9d71794c6c5adebb3eda874a8a2b7d19
BLAKE2b-256 7d6241eaafb08fbaba873fcbc31b075932db9500886d14d347ef6e16303204ff

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp37-none-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 141.6 kB
  • Tags: CPython 3.7, 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.2.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 e041da051fa98a130702ad68ffc36160f7a1413001e07abafe0156ddac95ffc6
MD5 7111ffbf7010f893f4473d55f7a3ae9a
BLAKE2b-256 7cecc8b06659f479d2f131bade30912667a9e6c97422c03884e260213a369e1a

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp37-none-win32.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp37-none-win32.whl
  • Upload date:
  • Size: 133.6 kB
  • Tags: CPython 3.7, 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.2.1-cp37-none-win32.whl
Algorithm Hash digest
SHA256 e200f4b65f0595e0a2116450fcf891500e557700a83997d64cb7645e07dca013
MD5 61e6ab770fe6db4536cbff87962252b7
BLAKE2b-256 46a3ea45b44bd79027d797e06494372deeb49cc55f9bc306c2fc9e37a7a79539

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp36-none-win_amd64.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 141.3 kB
  • Tags: CPython 3.6, 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.2.1-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 fac69943e20f5d2c41546842255070a8a70c255978dba40e81d4bfcf346bd7fc
MD5 954a903a05c7cc115e2981fcfe58eac5
BLAKE2b-256 fab0699a708b8f0ea2459462b1f9a7ecdae3b3a686cdace28523f03ac9fb35c1

See more details on using hashes here.

File details

Details for the file py2exe-0.10.2.1-cp36-none-win32.whl.

File metadata

  • Download URL: py2exe-0.10.2.1-cp36-none-win32.whl
  • Upload date:
  • Size: 133.5 kB
  • Tags: CPython 3.6, 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.2.1-cp36-none-win32.whl
Algorithm Hash digest
SHA256 d16f41d42e879358419568f841adede0614ddb7bf705b600a39c228beacef323
MD5 d36e49bd13c52410a4673400833569a3
BLAKE2b-256 0be705b53790dec3e3262add19f4a9afa6bdc3123e68d288051d5a2d2b5ea9ab

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