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

  • The option bundle_files=0 is incompatible with ssl.
  • 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.0.tar.gz (106.3 kB view details)

Uploaded Source

Built Distributions

py2exe-0.10.2.0-cp39-none-win_amd64.whl (141.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.2.0-cp39-none-win32.whl (133.6 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.2.0-cp38-none-win_amd64.whl (141.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.2.0-cp38-none-win32.whl (133.6 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.2.0-cp37-none-win_amd64.whl (141.4 kB view details)

Uploaded CPython 3.7 Windows x86-64

py2exe-0.10.2.0-cp37-none-win32.whl (133.4 kB view details)

Uploaded CPython 3.7 Windows x86

py2exe-0.10.2.0-cp36-none-win_amd64.whl (141.1 kB view details)

Uploaded CPython 3.6 Windows x86-64

py2exe-0.10.2.0-cp36-none-win32.whl (133.3 kB view details)

Uploaded CPython 3.6 Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0.tar.gz
  • Upload date:
  • Size: 106.3 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.0.tar.gz
Algorithm Hash digest
SHA256 b9a923d6b246b342808d033caf45cb0d1c0266775b0a8a8e5a1f71a99dac7420
MD5 bac76b103af036283ccd5f7df9c85256
BLAKE2b-256 4e5b9c9ba9b569244cd118f8544985af7d82281188af09652edb10a888f25f9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 141.6 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.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 1f16d8d3b7c0fd9c03ca4f435eae440a50a373c787465e39d967fd22ed3fd6dd
MD5 6e8d991ac8525ec52314f99857b1d5e2
BLAKE2b-256 470dc33dfd9250d1e471be928373d06def9cd109d78d96b4109a070004d19d1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp39-none-win32.whl
  • Upload date:
  • Size: 133.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.2.0-cp39-none-win32.whl
Algorithm Hash digest
SHA256 6452d4c9da7f451c839ea12f45d7b190111e7996a262cda8485e1cf1a89bb4f9
MD5 96cfc30543e55eef0245742f2276ad59
BLAKE2b-256 d742cf2e1b9a4d3023d1ac807398ada94588a126309ad4036445b310ff0fb5d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 141.6 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.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 3e87508090b84390dff31c8277773473e3eb09e33096c10e2d4b42021dec29e7
MD5 912d8046e541de8d4615771bb4f28d03
BLAKE2b-256 74be97d54f49f3cd1dac6422e84896b68e3d5176ac02b0b25ebb860dd9a4be47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp38-none-win32.whl
  • Upload date:
  • Size: 133.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.2.0-cp38-none-win32.whl
Algorithm Hash digest
SHA256 d17554ea14cf8a972ccbf7b00fd7601ca1ca33f8c406cb1476dea8a8addaab5c
MD5 0333d601c53150eed5d3ea7e5f80f30c
BLAKE2b-256 ade46eeb842bbc665c6cff3655a96ab5cfd3ef55cd15ffc4abbd52baee6007cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 141.4 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.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 8cd561348de9557b27d4bce1999c896502d58a85d782e1221caee16bf6b70bcc
MD5 527058a6d2c345da6c75542b8a55302c
BLAKE2b-256 290a3a9ad56ef7a5b372e0b6179db7a0587096f716732caa3ea27eb5d3e43039

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp37-none-win32.whl
  • Upload date:
  • Size: 133.4 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.0-cp37-none-win32.whl
Algorithm Hash digest
SHA256 a37880ba0b3f76a1dfae54469cae60c7d0e56cc28f93b2a42632d11ee23ef5b4
MD5 9aec0d3c2727f632e86b63ef9a9d4814
BLAKE2b-256 de974570584be69a943cf50d03db5458c3f6d6bc839658eb7c37598460faee7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 141.1 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.0-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 41e9a88e2ec1809289e3dc2f0b7fdefdb7cb60e22e588c59b44507d7c0e9e08d
MD5 ff002fde1102a45d66d5d2dc6a1f35c7
BLAKE2b-256 6ff840292c1b0a8e9c91b4aae8d35a4472a5ca58c0d82760a9fc7677156636a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.2.0-cp36-none-win32.whl
  • Upload date:
  • Size: 133.3 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.0-cp36-none-win32.whl
Algorithm Hash digest
SHA256 13260588d9478e4ffadb409f48551a2d7a6ce7eda1e55715b65d714f357958fa
MD5 5289ffd6d37700c78eb4b36f4f819429
BLAKE2b-256 6d8680a0339523779fdaa336d8baaf7c8f07051416b5825ae105df1eae30a344

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