Skip to content

Commit 8aff18d

Browse files
(CI) Drop python3 support
1 parent e792776 commit 8aff18d

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

scripts/travis/install-deps.sh

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,18 @@ apt-get install -y --no-install-recommends \
1717
libgoogle-glog-dev \
1818
libhdf5-serial-dev \
1919
libopenblas-dev \
20-
python-virtualenv \
20+
python3-virtualenv \
2121
wget
2222

2323
if $WITH_CMAKE ; then
2424
apt-get install -y --no-install-recommends cmake
2525
fi
2626

27-
if ! $WITH_PYTHON3 ; then
28-
# Python2
29-
apt-get install -y --no-install-recommends \
30-
libprotobuf-dev \
31-
protobuf-compiler \
32-
python-dev \
33-
python-numpy \
34-
python-protobuf \
35-
python-pydot \
36-
python-skimage
37-
else
38-
# Python3
39-
apt-get install -y --no-install-recommends \
40-
python3-dev \
41-
python3-numpy \
42-
python3-skimage
27+
# Python3
28+
apt-get install -y --no-install-recommends \
29+
python3-dev \
30+
python3-numpy \
31+
python3-skimage
4332

4433
# build Protobuf3 since it's needed for Python3
4534
PROTOBUF3_DIR=~/protobuf3

0 commit comments

Comments
 (0)