py2static
This is a simple tool for building Linux static binaries (x64) from Python scripts.
Introduction
It uses Pyinstaller to build a dynamic binary and uses staticx to make it static.
Installation
pip install py2static
Usage
# This will generate the binary "script"
py2static script.py
Limitations
It was developed and tested with single scripts using the standard python library. It may not work with more complex projects. Feel free to open an issue if you have more complex cases that would like to be supported.