Skip to content

Commit

Permalink
better version checking and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flaxman committed Mar 16, 2016
1 parent b8413bb commit d80b888
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.rst
Expand Up @@ -21,7 +21,9 @@ Note that if you use an outdated version of pip you may get a scary ``InsecurePl

.. code-block:: bash
pip install --upgrade pip
pip2 install --upgrade pip
If `pip2` doesn't work, try `pip` instead.

Advanced users can download the source code and build from source:

Expand Down
6 changes: 4 additions & 2 deletions bcwallet/bcwallet.py
Expand Up @@ -1317,9 +1317,11 @@ def invoke_cli():
puts(colored.red('Sorry, this app must be run with python 2.7 :('))
puts(colored.red('Your version: %s' % sys.version))
if sys.version_info[0] == 3:
puts(colored.red('Please uninstall bcwallet and reinstall like this:'))
puts(colored.red('Please uninstall bcwallet and reinstall like this:\n'))
with indent(4):
puts(colored.magenta('$ pip2 install bcwallet'))
puts(colored.magenta('$ pip2 install bcwallet\n'))

sys.exit()

# Check if blockcypher is up (basically if the user's machine is online)
global USER_ONLINE
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,7 +4,7 @@

setup(
name='bcwallet',
version='1.2.4',
version='1.2.5',
description='Simple BIP32 HD cryptocurrecy command line wallet',
author='Michael Flaxman',
author_email='mflaxman+blockcypher@gmail.com',
Expand Down

0 comments on commit d80b888

Please sign in to comment.