Install lxml using apt.
This commit is contained in:
parent
b6852348eb
commit
9957b4ebeb
|
@ -116,20 +116,17 @@ function install_requirements () {
|
||||||
update-locale LANG=en_US.UTF-8
|
update-locale LANG=en_US.UTF-8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# lxml: libxml2-dev, libxslt1-dev, zlib1g-dev
|
|
||||||
APT="bind9utils \
|
APT="bind9utils \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gettext \
|
gettext \
|
||||||
libcrack2-dev \
|
libcrack2-dev \
|
||||||
libxml2-dev \
|
|
||||||
libxslt1-dev \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
python3-lxml \
|
||||||
ssh-client \
|
ssh-client \
|
||||||
wget \
|
wget \
|
||||||
xvfb \
|
xvfb"
|
||||||
zlib1g-dev"
|
|
||||||
if $testing; then
|
if $testing; then
|
||||||
APT="${APT} \
|
APT="${APT} \
|
||||||
git \
|
git \
|
||||||
|
@ -151,8 +148,7 @@ function install_requirements () {
|
||||||
|
|
||||||
# cracklib and lxml are excluded on the requirements.txt because they need unconvinient system dependencies
|
# cracklib and lxml are excluded on the requirements.txt because they need unconvinient system dependencies
|
||||||
PIP="$(wget https://raw.githubusercontent.com/ribaguifi/django-orchestra/dev/github-actions/requirements.txt -O - | tr '\n' ' ') \
|
PIP="$(wget https://raw.githubusercontent.com/ribaguifi/django-orchestra/dev/github-actions/requirements.txt -O - | tr '\n' ' ') \
|
||||||
cracklib \
|
cracklib"
|
||||||
lxml==3.3.5"
|
|
||||||
if $testing; then
|
if $testing; then
|
||||||
PIP="${PIP} \
|
PIP="${PIP} \
|
||||||
selenium \
|
selenium \
|
||||||
|
|
Loading…
Reference in New Issue