1.2.0
PyCompyle v1.2.0 Release
Released: December 7 2025
Author: MrBooks36
Notice: there are a few bugs in the version that prevents it from working. Please use the latest version or hotfix 1.2.1 (Hang on we did this last release. I forgot to test the built version. I know, I suck)
What is PyCompyle?
PyCompyle is a lightweight Python packaging tool designed to convert .py scripts into standalone .exe files. It offers advanced control over how the build is generated, what files are included, and how the output behaves.
Key changes in v1.2.0
-
Adds
--midwaycommandargument to specify a cmd command to be executed before the wrapping phase -
Adds
--upx-threadsargument to control how many threads are used for upx compression -
Adds caching to upx compressed binaries to save compile time. (Cache file that are older then 30 days will be removed to same space)
-
Adds a debug option to the bootloader accessed with the environment variable
PYCOMPYLEDEBUGset to True -
Adds
--pyargargument that adds arguments to the startup of the python interpreter. (e.g.-m,-X,,-c "print('Hello world!')") -
Adds the
--include-scriptargument that adds a specified file located in PYTHONPATH/Scripts'. (e.g. '--include-script=pip.exe') -
Adds the
--copy-includeargument that will add PYTHONPATH/include to the build -
Changed license back to the BSD-3-Clause license
-
PLUGIN SUPPORT!!!!!!!!!
- New argument
--pluginor-plto specific a plugin to load. Works with relative or full paths and names for the built-in ones
More info on the below will be in the wiki when i get around to doing it
- Adds exec modules
init,midwayandend. - Adds the
plugindefault variable for exec modules, enabling access to other components of the plugin. - Adds import
special casesto support custom import-handling behavior. - Adds monkey-patch options for replacing and/or wrapping existing functions.
- New argument
-
Built-in plugins:
-
Other backend changes have been made as well but are not worth mentioning.
Roadmap (Future Plans)
- Linux support
- Rewrite of the bootloader in a different language
📝 License
See LICENSE.md.
(c) 2025 MrBooks36. All rights reserved.