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

Uploaded Source

Built Distributions

py2exe-0.10.3.1-cp39-cp39-win_amd64.whl (153.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.3.1-cp39-cp39-win32.whl (135.6 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.3.1-cp38-cp38-win_amd64.whl (153.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.3.1-cp38-cp38-win32.whl (135.7 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.3.1-cp37-cp37m-win_amd64.whl (152.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.10.3.1-cp37-cp37m-win32.whl (135.5 kB view details)

Uploaded CPython 3.7m Windows x86

py2exe-0.10.3.1-cp36-cp36m-win_amd64.whl (152.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

py2exe-0.10.3.1-cp36-cp36m-win32.whl (135.4 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1.tar.gz
  • Upload date:
  • Size: 108.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.3.1.tar.gz
Algorithm Hash digest
SHA256 5be9319f0ac1f9d2fc9855c68801752ad2bc47a9076ec12f33e3827eb852ce71
MD5 225c1009f704dd203aec6451391f5392
BLAKE2b-256 b8d493599e848b334cc0d4f3e8a3a35e67cd8f7751af624b41085d4f8b944edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 153.0 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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9ddd02fcf8c2ec2b1ddb888e0ff719037e85e89d9f4de9d1b84269e535a78688
MD5 cd97ec5d780e0abfa12bc9cf8a301871
BLAKE2b-256 d0850098f194a69a7dbfdd24b36dd0a52d2cc40316c08723f7f8b40e103bab32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 135.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.3.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2c9b7d33623fdcb97301a7088c459035bae6c3752ab5747030d4e1b8741c3e19
MD5 e2a74cd996fa92b97573dc97c38d6cb3
BLAKE2b-256 44f1fb79ee6be9aed71f18d574813c7082814462924492352022d338cf78795c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 153.0 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 660e540b68850dbaf4e0b56cd74175b933a584960160ee1c5e21036b43af26bc
MD5 3fd8859ba99539a5a38ac3f6c14ddd2d
BLAKE2b-256 5293c4f6cf8ee1f972c9ee3422aeec37a9c8c31fa93141853eb54f154a767221

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 135.7 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.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 1038cf0d17f226a3b84b93583416efe3d472bff35d81d9b4c0b4d8d5310442e5
MD5 c20406958d6d8db0c41e7c508e2483cb
BLAKE2b-256 931bc36c97f8aed9fc1628d84cfb244ded6ab10aa1f0074e1cfa49080a993abe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 152.8 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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 0210b21ec988ccfb0ad3c086e62fc52011c5de720e75858b1e45b57b6bb3d58f
MD5 a1f5f6f11c830a8482507a3428f8c036
BLAKE2b-256 2e45a1c6d7789048897c4f988d5fdaef5b230f72edd5840174e43b5220a81001

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 135.5 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.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 6b5695e75ecb6d79e036d3dfcfb96a4612f58815acf7dcd5dc89a1087f3388a7
MD5 67af8abc7e9c9b0243031b59c0d94f4f
BLAKE2b-256 1b09ac0e0495ecd5e7f9333359b5b0cb39e6172e683ca96652931c0e9b837207

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 152.3 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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 864cc8f5b01e1f6d45953645d80e403ae6de4811357047c1f0e5dd642cfd9837
MD5 50df4f15c816faf45adc1a15139e177f
BLAKE2b-256 2dfc0c2bcd86482f18962f1e2bf9e1a8c42ddf252a9c7e4a799670c851267553

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.3.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 135.4 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.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 cc23adbf2e808b5840287b152d565bc277021a39ddfeba22c2aaf416303f997b
MD5 2e0d1be6a56dbae46c8d5bc72696a26f
BLAKE2b-256 46255d9299240c5cc583e5bbddd30aa116bf2b6b0a85be80386f23950581449b

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