Skip to content

joaompinto/py2static

Repository files navigation

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.

About

Build Linux static binaries from Python scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages