diff options
author | Determinant <[email protected]> | 2020-08-17 10:15:49 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-08-17 10:15:49 -0400 |
commit | e1f70934ca4d0f195008da7a6eac1635e1bc624e (patch) | |
tree | 82bd694055682b7d5bf87608d8249615531b354d | |
parent | 98142861076ec810b40813c9a63ff5d51349108b (diff) |
check Python minor version
-rw-r--r-- | README.rst | 5 | ||||
-rwxr-xr-x | keytree.py | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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`` @@ -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") |