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.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 CPythonmodulefinder.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 thepkg_resources.extern.VendorImporter
loader- New hooks for
pkg_resources
andinfi
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 inimport_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 supportssl
withbundle_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
andshapely
.
Version 0.10.1.0:
- Add support for Python 3.9.
- Drop support for Python 3.5.
- New hooks for
urllib3
andpandas
.
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
, andsix
. build_exe
: thezipfile=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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file py2exe-0.11.0.1.tar.gz
.
File metadata
- Download URL: py2exe-0.11.0.1.tar.gz
- Upload date:
- Size: 120.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5c0ae8a632e56668d099f29513de3df40a1a3a53b669798a4df680b543b450 |
|
MD5 | ad4f934b2743628bde013f86ae531e3f |
|
BLAKE2b-256 | 336a657f70cd3cde35793e7b6adf10980c04801303360a2b0d1d8d0bd6dddc4b |
File details
Details for the file py2exe-0.11.0.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 166.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4938458a5cf375874b9af9cf53a98ce316390b9560f5b68d2e428592b7270c7c |
|
MD5 | b449287979ce460952262dfebf6938b4 |
|
BLAKE2b-256 | fcf1ee2c248b17e8a9c4b9e5e4e61907882177ca3d0606dceff66d10264fe599 |
File details
Details for the file py2exe-0.11.0.1-cp310-cp310-win32.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp310-cp310-win32.whl
- Upload date:
- Size: 147.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e05a420ce1a2b3b04e071be0b3d8874444b146499ca11b9d4b245ff4a6e223 |
|
MD5 | 376f15e13aa07a5888cef2df28914fef |
|
BLAKE2b-256 | edac474af29545b149d14fc1a3059e31c14f3684d75663a141227d2ce0b62c76 |
File details
Details for the file py2exe-0.11.0.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 166.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d6831249a57d143291f6f5ac47619dece11f6fea1af3f6967bc0694ae4ce5d5 |
|
MD5 | 9f87c4896e4139f70d97e860cd6b11cf |
|
BLAKE2b-256 | d527c8450cbf7a8b490634acc290403ff4eac8b8de3c5a19ce110534a41dc1c8 |
File details
Details for the file py2exe-0.11.0.1-cp39-cp39-win32.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp39-cp39-win32.whl
- Upload date:
- Size: 147.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc4c5973128210f4bf640dfb84d307f2ddcff8cf2f188a2eb49db33ccde0503 |
|
MD5 | d8e1c0634d7949cb3b5241314da66ad3 |
|
BLAKE2b-256 | 844703e655fd394e88aff0771967c124e63ea5399e78f4a34a5e9be112f8b8d9 |
File details
Details for the file py2exe-0.11.0.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 166.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdcd52aac76147fa38bcbf8010d1ef11914ed3eaa2a945261b8dabe5e114b43 |
|
MD5 | 35876fc172984610c77e2a2f880999bd |
|
BLAKE2b-256 | f092280165bb3165b0556cc1cc5944bb5da1a8655e072100d8b40baff71bb89c |
File details
Details for the file py2exe-0.11.0.1-cp38-cp38-win32.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp38-cp38-win32.whl
- Upload date:
- Size: 147.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36cbf7b920151a910356ebd65625cfef73a289b8e6929fa26c5a234fb1cf4ae |
|
MD5 | b2b16aca1bccc7a345a193b6a2ef961f |
|
BLAKE2b-256 | e7cd60bce7cb4aa32046481ccdf1c1714d9840aa280a39ae83d551199e63658c |
File details
Details for the file py2exe-0.11.0.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 166.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b21645efbe6634dd206d7421f0ef8d6bf82cc8e83f378a8690d5d9338a5ee6 |
|
MD5 | fac2aec29218a515a90ac1010ec243ab |
|
BLAKE2b-256 | fa59a3719b06ed55d388bfc398691dfcad2fe78f9f048d572daf99d0e297efc5 |
File details
Details for the file py2exe-0.11.0.1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp37-cp37m-win32.whl
- Upload date:
- Size: 147.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359989a21816806416c6b256c6469e852e54d9811e5fadc27ffc0c7b623fe5e9 |
|
MD5 | e6e02c70f14cd2af0760e6e8bfa43342 |
|
BLAKE2b-256 | f8bd1983c10588a98c31c2cda3d1042752b81a35cc2e7ec98d3b711e82da7dc7 |
File details
Details for the file py2exe-0.11.0.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 165.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ebe84d9f5a5abb50cf1c88e0b8591773e66ec8c42c1f884a57023d7a91fc45e |
|
MD5 | a8561ca9d230c386851e7000dfc9668a |
|
BLAKE2b-256 | 7f053c6d86c4872203a5231a081f4e65dc0875dc334763a9aaf2d90539800b48 |
File details
Details for the file py2exe-0.11.0.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: py2exe-0.11.0.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 147.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310b748a0da6f6d2b5115e7bff82b7f6579a5cb0d52950ecfcc04a18e60c851f |
|
MD5 | c303ab6ab1a56985b091042bed9e70d0 |
|
BLAKE2b-256 | 4f0e3742a00c785d2b3da6b2df14cc6fcbfb42e77ca1c7c1be80afe788f7a002 |