Skip to content

Commit

Permalink
[doc] #5: document how to build with Pyinstaller.
Browse files Browse the repository at this point in the history
  • Loading branch information
M5oul committed Apr 17, 2017
1 parent 4e8306c commit 1833da0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
## Install
- [Install inside a Python environemnt](https://github.com/duniter/silkaj/blob/master/doc/install_pyenv.md)
- [Install without Python environment](https://github.com/duniter/silkaj/blob/master/doc/install_on_the_system.md)
- [Build an executable with Pyinstaller](https://github.com/duniter/silkaj/blob/master/doc/build_with_pyinstaller.md)
- [Install as a drop-down for GNOME Shell with Argos](https://github.com/duniter/silkaj/blob/master/doc/argos.md)

## Usage
Expand Down
18 changes: 18 additions & 0 deletions doc/build_with_pyinstaller.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Build with Pyinstaller

## Install Pyinstaller
```bash
pip install pyinstaller
```

If you are using Pyenv, don’t 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.

0 comments on commit 1833da0

Please sign in to comment.