Skip to content

Commit 37cb288

Browse files
committed
Clean up toward building with py2app or pyinstaller
o make slip39[serial,json,gui] support optional
1 parent 5117e5c commit 37cb288

File tree

12 files changed

+1191
-16
lines changed

12 files changed

+1191
-16
lines changed

GNUmakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ help:
1919
@echo "GNUmakefile for cpppo. Targets:"
2020
@echo " help This help"
2121
@echo " test Run unit tests under Python3"
22+
@echo " build Build dist packages under Python3"
2223
@echo " install Install in /usr/local for Python3"
2324
@echo " clean Remove build artifacts"
2425
@echo " upload Upload new version to pypi (package maintainer only)"

MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
include LICENSE
33
include COPYING
44
include README.org
5-
include requirements.txt
6-
include requirements-tests.txt
5+
include README.pdf
6+
include README.txt
7+
include requirements*.txt
78
global-exclude *~

README.org

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,9 @@ by entering the mnemonics right on the device.
10351035

10361036
* Dependencies
10371037

1038-
Internally, python-slip39 project uses Trezor's [[https://gihub.com/trezor/python-shamir-mnemonic.git][python-shamir-mnemonic]] to encode the seed data,
1039-
and the Ethereum project's [[https://github.com/ethereum/eth-account][eth-account]] to convert seeds to Ethereum accounts.
1038+
Internally, python-slip39 project uses Trezor's [[https://gihub.com/trezor/python-shamir-mnemonic.git][python-shamir-mnemonic]] to encode the seed data to
1039+
SLIP-39 phrases, [[https://github.com/meherett/python-hdwallet.git][python-hdwallet]] to convert seeds to ETH, BTC, LTC and DOGE wallets, and the
1040+
Ethereum project's [[https://github.com/ethereum/eth-account][eth-account]] to produce encrypted JSON wallets for specified Ethereum accounts.
10401041

10411042
** The =python-shamir-mnemonic= API
10421043

README.txt

Lines changed: 1116 additions & 0 deletions
Large diffs are not rendered by default.

SLIP39.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#! /usr/bin/env python3
2+
3+
import sys
4+
from slip39.App.main import main
5+
6+
sys.exit( main() )

images/SLIP39.icns

57.4 KB
Binary file not shown.

requirements-gui.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pysimplegui >=4.56
2+
tkinter

requirements-json.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eth-account >=0.5, <1

requirements-serial.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyserial >=3.5

requirements.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
chacha20poly1305>=0.0.3
2-
fpdf2
3-
hdwallet
4-
mnemonic>=0.19,<1
5-
pyserial>=3.5
6-
pysimplegui
7-
qrcode
8-
shamir-mnemonic
1+
chacha20poly1305 >=0.0.3
2+
fpdf2 >=2.5, <3
3+
hdwallet >=2.1, <3
4+
mnemonic >=0.19, <1
5+
qrcode >=7.3
6+
shamir-mnemonic >=0.2, <1

0 commit comments

Comments
 (0)