-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
8go
committed
Jun 7, 2017
1 parent
65fdb4a
commit ef4f1b1
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
echo "Requires Python and pip to be installed" | ||
echo "Read: http://www.pyinstaller.org/" | ||
echo "Something similar should work on Windows as well" | ||
echo "Read: https://mborgerson.com/creating-an-executable-from-a-python-script" | ||
|
||
su -c "pip install pyinstaller" root | ||
pyinstaller --hidden-import pkgutil --windowed --icon=icons/TrezorHash.ico --onefile TrezorHash.py | ||
echo "Single file executable is: ./dist/TrezorHash" | ||
ls -lh ./dist/TrezorHash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This single file executable for Linux was created in May 2017 | ||
on Debian GNU/Linux 8 (jessie) 64-bit. | ||
To reproduce it: | ||
- install Python | ||
- install pip | ||
- download TrezorHash from https://github.com | ||
- run "make" | ||
- run script singleFileExecutableOnLinuxCreate.sh | ||
The output is a 43M file TrezorHash in dist/TrezorHash |