PyBuild-exe
Compile Python into .exe — Windows-only Python packager with C# launcher.
Features
- Portable mode: All files in one folder (~100MB), no Python installation needed
- Single-file mode: One .exe (~38MB) with ZIP extraction
- Smart import tracing: Only collects modules actually used
- Asset reference detection: AST scan for file references in code
- .pyc source protection: Compiles to bytecode
- C# launcher: Windows native, no Python at runtime
- Icon support: Any image format auto-converted to .ico
Install
pip install pybuild-exe
Usage
# Pack with config
pybuild --config
# Pack specific script
pybuild main.py --output MyApp --console
# Interactive mode
pybuild
Metadata
Release files for pybuild-exe 1.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pybuild_exe-1.12.1.tar.gz | 61.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pybuild_exe-1.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 126.8 kB
Release files / pybuild_exe-1.12.1.tar.gz
| Download URL | pybuild_exe-1.12.1.tar.gz |
|---|---|
| Size | 61.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
569659137993cfb26d44d4d4827f2a7e026096dd68d27c8bd685ddde1c8a6f3a
|
|
BLAKE2b-256 checksum How to use checksums |
2e35563a255d58fe297a4165a53a447b7b356ee3445997487484b15cee5146ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / pybuild_exe-1.12.1-py3-none-any.whl
| Download URL | pybuild_exe-1.12.1-py3-none-any.whl |
|---|---|
| Size | 64.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d28714411438fe729941341953a5bf5bb9b538b64eedb6b6b4f3ddfdfff40a23
|
|
BLAKE2b-256 checksum How to use checksums |
e8019bfe64ecf9f52bf6d3835c8e9a32e6bca34e19ab339aaee6246136fad984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|