From e1f70934ca4d0f195008da7a6eac1635e1bc624e Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 17 Aug 2020 10:15:49 -0400 Subject: check Python minor version --- README.rst | 5 +++-- keytree.py | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index b73cc8c..aa9e27a 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,7 @@ -keytree -======= +keytree.py +========== +- Make sure you have Python >= 3.7 - CD into the cloned repo - Derive 10 keys from the given mnemonic: ``./keytree.py --end-idx 10`` - Generate a new mnemonic and derive 10 keys from it: ``./keytree.py --end-idx 10 --gen-mnemonic`` diff --git a/keytree.py b/keytree.py index ce4727d..721324a 100755 --- a/keytree.py +++ b/keytree.py @@ -34,6 +34,9 @@ import os import sys +if sys.version_info[1] < 7: + sys.write("Python should be >= 3.7") + sys.exit(1) basedir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, basedir + "/freezed_deps") -- cgit v1.2.3-70-g09d2