Skip to content

1.2.0

Choose a tag to compare

@MrBooks36 MrBooks36 released this 07 Dec 09:38
· 28 commits to main since this release

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

  • Fix spelling error (licence -> license) by @lilafian in #1

  • Adds --midwaycommand argument to specify a cmd command to be executed before the wrapping phase

  • Adds --upx-threads argument 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 PYCOMPYLEDEBUG set to True

  • Adds --pyarg argument that adds arguments to the startup of the python interpreter. (e.g. -m, -X,, -c "print('Hello world!')" )

  • Adds the --include-script argument that adds a specified file located in PYTHONPATH/Scripts'. (e.g. '--include-script=pip.exe')

  • Adds the --copy-include argument that will add PYTHONPATH/include to the build

  • Changed license back to the BSD-3-Clause license

  • PLUGIN SUPPORT!!!!!!!!!

    • New argument --plugin or -pl to 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, midway and end.
    • Adds the plugin default variable for exec modules, enabling access to other components of the plugin.
    • Adds import special cases to support custom import-handling behavior.
    • Adds monkey-patch options for replacing and/or wrapping existing functions.
  • Built-in plugins:

    • pythoncom Adds the requirements for the pythoncom package to function.
    • pyqtstripper Removes parts of pyqt5 and 6 that are not commonly used.
    • cython Adds cython pyd generation to your code but not the python standard library or site-packages.
    • nuitka Same as cython but uses Nuitka instead of cython.
  • 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.