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. py2exe can build console executables and windows (GUI) executables.

Development of py2exe is hosted here: https://github.com/py2exe/py2exe.

Changes

Detailed changelog is published on GitHub.

Version 0.11.1.0:

  • Drop support for Python 3.6
  • Include package metadata in the bundle archive (to be used by e.g. importlib.metadata)
  • Fixed a bug that prevented to use the optimize option when six was in the bundle
  • Fixed a bug that ignored the optimize flag for some packages

Version 0.11.0.1:

  • Show again relative paths in Tracebacks that happen from the frozen application (#12 and #114)

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

Uploaded Source

Built Distributions

py2exe-0.11.1.0-cp310-cp310-win_amd64.whl (148.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

py2exe-0.11.1.0-cp310-cp310-win32.whl (141.3 kB view details)

Uploaded CPython 3.10 Windows x86

py2exe-0.11.1.0-cp39-cp39-win_amd64.whl (148.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.11.1.0-cp39-cp39-win32.whl (141.2 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.11.1.0-cp38-cp38-win_amd64.whl (148.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.11.1.0-cp38-cp38-win32.whl (141.2 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.11.1.0-cp37-cp37m-win_amd64.whl (148.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.11.1.0-cp37-cp37m-win32.whl (141.2 kB view details)

Uploaded CPython 3.7m Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0.tar.gz
  • Upload date:
  • Size: 120.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 85f29507dc426202bceec940fdf2fb7d566008406995760f99e8b3e7fe834d6a
MD5 7c30224312da8eded64cd3cbcfb2ecf6
BLAKE2b-256 d14ffa1bebb522c9b65086f7f76629efd98693887ef2c9300a1c4d864d909ff5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 148.8 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.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 29707fbe1fe7670d6741cd1905bbf7368f1a5a98fa15524ef23aae2a88e4d465
MD5 be88679b1a463a1c554e73c722a2e659
BLAKE2b-256 1b82ff784d0edbeb3700a60f5c53ab396f2755e1225277073c8066ed59a1a96e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 141.3 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.1.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 7069b6ebc690f6f1b5ee8514a63f1c3765fa006cefc2e15aa306829b029b03a3
MD5 053aca76ac4dc911817236507a445b90
BLAKE2b-256 a241c21b072f1a0cdf4720c605374aea195186ade43a4d3b1c8f40e39ee00c23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 148.8 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.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 329bcf5f2feaf99b21c9ef49ec8060cfdcb5671debbab6f53135ae53d491fc4d
MD5 df43e3c41ae9e21e4840b44baade00f8
BLAKE2b-256 b2829afd2b5b92108d5d832d3b80042e415b998023f6063dc1ab9b3d5a89e9b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 141.2 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.1.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 a03ba497f6eec4d0d41bd150ea611fb87db302a74a41d6826cb0445fdb418f41
MD5 d503580f25a42638283cba7ccd5cf756
BLAKE2b-256 be937efc8041c2f063ac42e14af9e6da0c20d495974e7d8c401ace0e7e00c381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 148.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.11.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 19e5d6803501fb55a30759889446234e275b2e5da21a53ae847e2529dd23eb7b
MD5 d4d86bd05c4dc3385341b1ea770b683e
BLAKE2b-256 e78cd38dee6aba8b3568ad73770b5e2350963b13e4b39f87a0712823717b38a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 141.2 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.1.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a9d42bc5c6120bda01fbba553215e3dee7d0d2951d6fe30fc7c36176a46ae0a9
MD5 98ce360323504d2b7449fa0247e5e3eb
BLAKE2b-256 0015eb4495a9250cd496b3f4a09550b453beb182ca2410e7f84c89fbb368b822

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 148.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.11.1.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9e29789b3e5a37fc376726062574607c9fe5ef88d0331d311871de4dda406717
MD5 0c577659eae5e8ff49d64fd510db1d76
BLAKE2b-256 ef3880fbdc625fb19a26e66a9287f8890f0706cacbaf77b71aea73fc93ae3485

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.11.1.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 141.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.11.1.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 37fb1f7ff73e252bfa21789d8448d3bcf521a0bc1edd2ee3734534a4b437bed0
MD5 b0cc576a7db99ee4629dbcd716f47f63
BLAKE2b-256 0dc071462ebf909976008bebad927f9e561b3c70163ece874048cf77593b706c

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