G1sms/silkaj/doc/build_with_pyinstaller.md

19 lines
351 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Build with Pyinstaller
## Install Pyinstaller
```bash
pip install pyinstaller
```
If you are using Pyenv, dont forget to save pyinstaller install:
```bash
pyenv rehash
```
## Build
```bash
pyinstaller src/silkaj.py --hidden-import=_cffi_backend --hidden-import=_scrypt --onefile
```
You will found the exetuable file on `silkaj/dist` folder.