Metadata-Version: 2.4
Name: py2static
Version: 0.0.2
Summary: Create static binaries from Python scripts
Author-email: João Pinto <lamego.pinto@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/joaompinto/py2static
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyinstaller
Requires-Dist: staticx
Requires-Dist: typer
Requires-Dist: patchelf==0.15.0
Requires-Dist: vcs_versioning
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: setuptools_scm; extra == "dev"
Requires-Dist: tox; extra == "dev"
Requires-Dist: wheel; extra == "dev"
Dynamic: license-file

# py2static

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

[![PyPi](https://img.shields.io/pypi/v/py2static.svg?style=flat-square)](https://pypi.python.org/pypi/py2static)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/ambv/black)

# Introduction

It uses [Pyinstaller](https://pyinstaller.org/) to build a dynamic binary and uses [staticx](https://github.com/JonathonReinhart/staticx) to make it static.

# Installation

```bash
pip install py2static
```
# Usage

```bash
# 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.
