Install lxml into system python env

This commit is contained in:
Dylan Rathbone
2020-11-02 16:40:52 +10:00
parent 6d724664df
commit 3c2b000db5

View File

@@ -8,7 +8,8 @@ if [[ $ID = "amzn" ]]; then
python3-devel \ python3-devel \
python3-pip \ python3-pip \
python2-boto3 \ python2-boto3 \
python2-botocore python2-botocore \
python-pip \
else else
# FIXME: Currently assumes Debian-based # FIXME: Currently assumes Debian-based
@@ -21,6 +22,7 @@ export PATH=/usr/local/bin:$PATH
export PIP_DEFAULT_TIMEOUT=60 export PIP_DEFAULT_TIMEOUT=60
pip3 install pipenv pip3 install pipenv
python -m pip install lxml
echo "Installing ansible and dependencies..." echo "Installing ansible and dependencies..."
PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv sync 2>&1 | iconv -c -f utf-8 -t ascii PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv sync 2>&1 | iconv -c -f utf-8 -t ascii