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

Uploaded Source

Built Distributions

py2exe-0.10.3.0-cp39-cp39-win_amd64.whl (152.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.3.0-cp39-cp39-win32.whl (135.4 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.3.0-cp38-cp38-win_amd64.whl (152.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.3.0-cp38-cp38-win32.whl (135.4 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.3.0-cp37-cp37m-win_amd64.whl (152.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.10.3.0-cp37-cp37m-win32.whl (135.2 kB view details)

Uploaded CPython 3.7m Windows x86

py2exe-0.10.3.0-cp36-cp36m-win_amd64.whl (151.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

py2exe-0.10.3.0-cp36-cp36m-win32.whl (135.1 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0.tar.gz
  • Upload date:
  • Size: 107.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 1e7d53c514c072ce3e6454a744f17a0b1796ea8f00cf8c4714c77e232fc797fa
MD5 e0db6d236bcccdb219aa18e0bb3909b0
BLAKE2b-256 9cd7a8088d709ee50ec03b642834612288911a2a3a7d3ed5ecf03c060141d78d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 152.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.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1372cf49edb420bd8a26babd983ef0461fd29eaaae2e707b2be2792735c34deb
MD5 e25520a4fbe2c425716025484ff9a6e7
BLAKE2b-256 552a362fe7770a5c12cda1034e6ef251b7b933aa27a644a08f5b648aabebb7c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 135.4 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.3.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 43807260b60e66d2533b48fc165f90abf00c2d5dd50740af43be4ed72a0bfcc3
MD5 7270b44cfc7a51547fa357c2a7a3adfd
BLAKE2b-256 d0d4b50bf3459e255c837950b3181e7a8a67a269f58e42e4397b50432215b719

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 152.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.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8d57b787af2a987cb5273701d7ffc3ca0372b72c2b8953b0b580333bdd6a7850
MD5 720c1c530e463308567c420860f09c42
BLAKE2b-256 d64ac9cbfa2c95931c43e9d4ceb80d6bb090b1e50e5cbb250396ca05338325fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 135.4 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.3.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 e6c3dd6224c36b541d77eab42cf6131ebea92797b5063a4d56cd631f412adf18
MD5 7f4b4b6a7686fcc84ac30e031c5d9a88
BLAKE2b-256 8171412de80b5b4bec785cf43aa2afa5c4059108cd95a57be3eadb4223ccd700

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 152.5 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.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 336fcdcdcde023ca83781c27157a649b197ad61b454941ad0c35a284122937fe
MD5 8e0c65f03a4c3ec9f2ed280d25e30f16
BLAKE2b-256 5753a26df4cdfd19abf7cb728fca30222fd5e1a0f9069e50774ca20a311d132a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 135.2 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.3.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 54b65798888679ceb7f1758124268179c3922af08002c83dedc1cc3f346361af
MD5 2adb0bf42902d66366b57d8f05715cd9
BLAKE2b-256 05dc9a67ace53dbb6e357866c1e9d713a12d855a09ee49ffb19488bef6eb899a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 151.9 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.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 08bbc4fe566b5f60f55f03abc92c8aecebf3fb5fc2215196779da6544870bd1b
MD5 cfe403a02106e147713acc61ce3707e1
BLAKE2b-256 5654a2ceb748c0b6713ae22b12a64a66bae75423e4534287b344d127f82ba8c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 135.1 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.3.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 48b124f6ea51604fe66c6d5670321037a1214e297b8ff02d504ff2e101b8be27
MD5 b1eadcdeca42f91391c76c348365b97a
BLAKE2b-256 d42442d86f5798d7ee03d1e7d5923cba53bf9766c31a3f8ece0a2aba31d1474a

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