go with psycopg2-binary instead of building psycopg2

This commit is contained in:
Lee Goolsbee
2022-09-15 11:08:02 -05:00
parent 9530650889
commit 8c745195c6
6 changed files with 90 additions and 34 deletions

View File

@@ -7,8 +7,6 @@ if [[ $ID = "amzn" ]]; then
amazon-linux-extras enable python3.8
yum clean metadata
yum install -y \
gcc \
libpq-devel \
python2-pip \
python38 \
python38-pip \
@@ -18,7 +16,6 @@ else
# FIXME: Currently assumes Debian-based
apt-get update && \
apt-get install -y \
libpq-dev \
python3-dev \
python3-pip
fi