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

Uploaded Source

Built Distributions

py2exe-0.10.4.0-cp39-cp39-win_amd64.whl (155.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

py2exe-0.10.4.0-cp39-cp39-win32.whl (137.1 kB view details)

Uploaded CPython 3.9 Windows x86

py2exe-0.10.4.0-cp38-cp38-win_amd64.whl (155.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

py2exe-0.10.4.0-cp38-cp38-win32.whl (137.1 kB view details)

Uploaded CPython 3.8 Windows x86

py2exe-0.10.4.0-cp37-cp37m-win_amd64.whl (155.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

py2exe-0.10.4.0-cp37-cp37m-win32.whl (136.9 kB view details)

Uploaded CPython 3.7m Windows x86

py2exe-0.10.4.0-cp36-cp36m-win_amd64.whl (154.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

py2exe-0.10.4.0-cp36-cp36m-win32.whl (136.8 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0.tar.gz
  • Upload date:
  • Size: 109.1 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.4.0.tar.gz
Algorithm Hash digest
SHA256 32f0593be8c3343c1b685274b5969c87b47a0a5a98f36ad8e4880a897df53e37
MD5 dceaaa4e22b8cf6a583a9956897ed649
BLAKE2b-256 48304714231ea6e8f40b4728678c94b219b40c93431088ae55bd9db48ce701a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 155.5 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.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b2cf99f76cad1d31d4c0669d6c919f3c25edebbf4b02a22660013245bca749dc
MD5 a1ab5067c1bb55ccc78cecc186ab4b2e
BLAKE2b-256 e73e03e8286e5a0681d494602cc20a06f111d1d1ce9238388f7b5bd366124891

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 137.1 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.4.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 f80f27b73f9573f50a95f86982a2dc4d16bd78e7c6aa5c82a5f7449c3a67adcf
MD5 6d94611e434e24c98d630ce266b2f992
BLAKE2b-256 3a82fbc51b0bfafe1a0eb76a4132205fd5b8edd4decd7b42ac52e32df594c4be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 155.5 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.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 81d0779702f12b4f8b17b355fdb0aa5dc33bc38489ec0e47e8e37bdea3b4b005
MD5 5d9927aeb1174b7c04ab5d9ccf22ea97
BLAKE2b-256 92666dc30cd2a1aa75332fa42c5818d9b255aa1d8df27572718baa165ba8e584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 137.1 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.4.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3ccbee44671e8298db1bb6395f020c40800949403d21fea218174df96d7003bf
MD5 f26ec6d07b2194dc00cf99c41044e8b3
BLAKE2b-256 39156b6948f14faad11777dc080c7cafd4abfb14080247e426a0d05796de6fca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 155.3 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.4.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c37b50d08e02e913da3e83c868c569fa6312e3e5b81da5f30777643a9d66ff5f
MD5 faba899d931219c9ff24bcb683808097
BLAKE2b-256 ec9240202a6576ced03ec6893f277622a4a8d77811d4bfd431b56e24bfc750ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 136.9 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.4.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 95d6a30b3063c84570f6d462c718d1608abd65db78934deeb3eea052d94531c1
MD5 700d2a1652019e59463296f803a4e31f
BLAKE2b-256 cd6259f162c8484364d6a91decb6ad0024fc2360da1894c7613a06f8413a05f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 154.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.4.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 635d5bddecbfb0c667a9f040c7910440fe3f92d73dfa8c4e2038bcc800fa18a5
MD5 e326490d437b0bf73be72be3de84fb74
BLAKE2b-256 4af34b2059c35ccaf7ca3ddb3977248e972923db888c6f42cbd4599f6a9513cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2exe-0.10.4.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 136.8 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.4.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 176561903f26a7996a81f5b5558ac0d1d6e12c9b2817886b937c6f417a71f3c8
MD5 23f71bf2b23118c336a105ae85871d70
BLAKE2b-256 a4b7df20aabce8a18c39b4b154a344823508b02580e8fed9c090d4727c69a5be

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