Add python3-dev
The gate-neutron-dsvm-functional-py34 job needs Python.h, and it is currently not available when running Python 3. Change-Id: I00ce26864db682a4577dc5360519918007aa5499 Partial-Bug: #1500400
This commit is contained in:
parent
a00aa92642
commit
2554d974b8
@ -63,7 +63,9 @@ postgresql-server [platform:rpm]
|
||||
pypy [platform:ubuntu-trusty]
|
||||
pypy-dev [platform:ubuntu-trusty]
|
||||
python-dev [platform:dpkg]
|
||||
python3-dev [platform:dpkg]
|
||||
python-devel [platform:rpm]
|
||||
python3-devel [platform:rpm]
|
||||
python-libvirt [platform:dpkg]
|
||||
python-lxml
|
||||
python-zmq
|
||||
|
@ -1,2 +1,3 @@
|
||||
build-essential:
|
||||
python-dev:
|
||||
python3-dev:
|
||||
|
@ -20,7 +20,7 @@ mkdir -p ~/cache/files
|
||||
mkdir -p ~/cache/pip
|
||||
|
||||
if [ -f /usr/bin/yum ]; then
|
||||
sudo yum -y install python-devel make automake gcc gcc-c++ \
|
||||
sudo yum -y install python-devel python3-devel make automake gcc gcc-c++ \
|
||||
kernel-devel redhat-lsb-core
|
||||
elif [ -f /usr/bin/apt-get ]; then
|
||||
if [ "$(lsb_release -c -s)" = "precise" ]; then
|
||||
@ -38,11 +38,11 @@ elif [ -f /usr/bin/apt-get ]; then
|
||||
--assume-yes install --reinstall linux-headers-3.2.0-69 \
|
||||
linux-headers-3.2.0-69-virtual \
|
||||
linux-image-3.2.0-69-virtual \
|
||||
python-software-properties build-essential python-dev
|
||||
python-software-properties build-essential python-dev python3-dev
|
||||
else
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get \
|
||||
--option "Dpkg::Options::=--force-confold" \
|
||||
--assume-yes install build-essential python-dev \
|
||||
--assume-yes install build-essential python-dev python3-dev \
|
||||
python-software-properties linux-headers-virtual linux-headers-$(uname -r)
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user