kentsx/Python Executable Builder Action

Package python scripts into executables for different OS's, and upload to release / b2

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 15, 2024
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: kentsx/python2exe@19c006f72ad75562ab3fea363131a3615e5ff17c # v1.1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
mainthe main python file (without .py)yes
distthe dist pathno./dist
python_versionthe version of pythonno3.9
pyinstaller_versionthe version of pyinstallerno6.7
exe_namethe output exe namenomain
use-dependencieswhether to install requirements.txt before build, which is in the root dirnotrue
no-consolewhether to disappear console terminalnotrue
iconadd the icon mark into your executable, the file path of your ico, e.g. logo.png or logo.iconoNONE
artifactWhether upload the build executable to artifactnofalse
compression_levelThe level of compression for Zlib to be applied to the artifact archive, range from 0(no compression) to 9(max compression)no6
releaseWhether create a release with the executablenotrue
tokenThe Github token. Make sure you have the permission to create release.no${{ github.token }}
tagAn optional tag for the release. If this is omitted the git ref will be used (if it is a tag).no${{ github.ref_name }}-Run#${{ github.run_id }}-Attempt#${{ github.run_attempt }}
bodyfileAn optional body file for the release. This should be the path to the fileno""
version_file_pathThe path of your version.py file (file name can be different). It must contains a variable "VER"no""
namedescription
versionexecutable version