Fix pip install with print logo

This commit is contained in:
Dimitris Zlatanidis 2018-04-21 19:59:30 +02:00
parent 6a072892b9
commit 35d135df49
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
3.3.6 - 21/04/2018
Fixed:
- pip install with print logo #106
3.3.5 - 01/04/2018
Fixed:
- pip install fails #106

View file

@ -47,7 +47,7 @@ OPTIONAL_REQUIREMENTS = [
def print_logo():
if "--install" not in sys.argv:
if "install" not in sys.argv:
logo_fname = os.path.join(os.path.dirname(__file__), 'logo.txt')
with open(logo_fname, 'rb') as f:
logo = f.read().decode('utf-8')