mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-11 20:48:11 +01:00
Fix pip install with print logo
This commit is contained in:
parent
6a072892b9
commit
35d135df49
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
3.3.6 - 21/04/2018
|
||||||
|
Fixed:
|
||||||
|
- pip install with print logo #106
|
||||||
|
|
||||||
3.3.5 - 01/04/2018
|
3.3.5 - 01/04/2018
|
||||||
Fixed:
|
Fixed:
|
||||||
- pip install fails #106
|
- pip install fails #106
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -47,7 +47,7 @@ OPTIONAL_REQUIREMENTS = [
|
||||||
|
|
||||||
|
|
||||||
def print_logo():
|
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')
|
logo_fname = os.path.join(os.path.dirname(__file__), 'logo.txt')
|
||||||
with open(logo_fname, 'rb') as f:
|
with open(logo_fname, 'rb') as f:
|
||||||
logo = f.read().decode('utf-8')
|
logo = f.read().decode('utf-8')
|
||||||
|
|
Loading…
Add table
Reference in a new issue