py2static

Create static binaries from Python scripts


License
MIT
Install
pip install py2static==0.0.1

Documentation

py2static

This is a simple tool for building Linux static binaries (x64) from Python scripts.

PyPi Code style: black

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.