Skip to content

Commit

Permalink
Merge pull request #113 from LedgerHQ/secinthenet-fix-pyinstaller
Browse files Browse the repository at this point in the history
seed conversion tool: replace relative import to support pyinstaller
  • Loading branch information
fbeutin-ledger authored Jul 27, 2022
2 parents fc0dc8e + 4ab384f commit c89985a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ debug/
dep/
obj/


# Editors
.vscode/
.idea/
Expand All @@ -18,3 +17,9 @@ __pycache__/
*.egg-info/
.eggs/
.python-version

# Pyinstaller
build/
dist/
*.manifest
*.spec
8 changes: 4 additions & 4 deletions tools/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ On Mac/Linux

In tools/python/ directory run the command:

PYTHONPATH=`pwd`/src python3 -m ledger.monero.seedconv.py offline
PYTHONPATH=`pwd`/src python3 src/ledger/monero/seedconv.py offline

Example:

$ PYTHONPATH="$(pwd)/src" python3 -m ledger.monero.seedconv offline
$ PYTHONPATH="$(pwd)/src" python3 src/ledger/monero/seedconv.py offline

=============================================================
Monero Seed Converter v0.9. Copyright (c) Ledger SAS 20018.
Expand Down Expand Up @@ -113,11 +113,11 @@ Example:

In tools/python/ directory run the command:

PYTHONPATH=`pwd`/src python3 -m ledger.monero.seedconv.py online
PYTHONPATH=`pwd`/src python3 src/ledger/monero/seedconv.py online

Example:

$ PYTHONPATH=`pwd`/src python3 -m ledger.monero.seedconv.py online
$ PYTHONPATH=`pwd`/src python3 src/ledger/monero/seedconv.py online

=============================================================
Monero Seed Converter v0.9. Copyright (c) Ledger SAS 20018.
Expand Down
2 changes: 1 addition & 1 deletion tools/python/src/ledger/monero/seedconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@



from .dictionaries.languages import monero_langs
from ledger.monero.dictionaries.languages import monero_langs


# =========================================================================================
Expand Down

0 comments on commit c89985a

Please sign in to comment.