Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 4c3bc2c

Browse files
author
Yasser Elsayed
committed
update setuptools to fix pip install bug
1 parent 0ab08f9 commit 4c3bc2c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
language: python
22
python:
33
- "2.7"
4-
- "3.4"
54

65
before_install:
6+
- sudo apt-get install -y python-setuptools
77
- npm install -g typescript
88
- tsc --module amd --noImplicitAny --outdir datalab/notebook/static datalab/notebook/static/*.ts
99
- pip install -U pip
10+
- pip install -U setuptools
1011
- pip install .
1112

1213
script: python ./tests/main.py

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118

119119
# install tensorflow
120120
if not tensorflow_path:
121-
print """Warning: could not find tensorflow build for your OS.
122-
Please go to https://www.tensorflow.org/get_started/os_setup to see install options"""
121+
print("""Warning: could not find tensorflow build for your OS.
122+
Please go to https://www.tensorflow.org/get_started/os_setup to see install options""")
123123
else:
124124
pip.main(['install', tensorflow_path])
125125

0 commit comments

Comments
 (0)