/py3build

Create python3 zip application with pyc files from python source project

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

py3build

Create Python3 zipapp with pyc files from Python3 sources.

Usage

Compile the sources and create the zip application file:

./py3build.py -i /path/to/myapp/main.py -o myapp.bin

Run your application

Just run the file:

./myapp.bin

Troubleshooting

ModuleNotFoundError

Create the __init__.py file into the module directories.