Skip to content

Commit 0ebc884

Browse files
committed
test-manylinux: only install distutils if required
1 parent 532bc85 commit 0ebc884

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/test-manylinux.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ function setup_centos {
3939
function setup_ubuntu {
4040
# Ubuntu container setup
4141
apt-get update
42-
apt-get install -y python python3 python3-distutils curl
42+
apt-get install -y python python3 curl
43+
# python3-distutils is required on Ubuntu 18.04 and later but does
44+
# not exist on 14.04.
45+
apt-get install -y python3-distutils || true
4346
}
4447

4548

0 commit comments

Comments
 (0)