From 214b82ea2d29d1578bb3e48851e770230ed3ca76 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Wed, 4 Nov 2020 23:08:49 +1100 Subject: [PATCH] Use psycopg2-binary instead of psycopg2 It's identical except we download pre-built binaries. This makes builds faster and requires less dependencies. --- backfiller/setup.py | 2 +- cutter/setup.py | 2 +- playlist_manager/setup.py | 2 +- sheetsync/setup.py | 2 +- thrimshim/setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backfiller/setup.py b/backfiller/setup.py index 3d5d7d2..df6acb3 100644 --- a/backfiller/setup.py +++ b/backfiller/setup.py @@ -8,7 +8,7 @@ setup( "argh", "gevent", "psycogreen", - "psycopg2", + "psycopg2-binary", "python-dateutil", "requests", "wubloader-common", diff --git a/cutter/setup.py b/cutter/setup.py index 0483c07..6f7a646 100644 --- a/cutter/setup.py +++ b/cutter/setup.py @@ -9,7 +9,7 @@ setup( "gevent", "prometheus-client", "psycogreen", - "psycopg2", + "psycopg2-binary", "requests", "wubloader-common", ], diff --git a/playlist_manager/setup.py b/playlist_manager/setup.py index febd9ed..1fc5a35 100644 --- a/playlist_manager/setup.py +++ b/playlist_manager/setup.py @@ -9,7 +9,7 @@ setup( "gevent", "prometheus-client", "psycogreen", - "psycopg2", + "psycopg2-binary", "requests", "wubloader-common", ], diff --git a/sheetsync/setup.py b/sheetsync/setup.py index 5627eb7..5c3199f 100644 --- a/sheetsync/setup.py +++ b/sheetsync/setup.py @@ -9,7 +9,7 @@ setup( "gevent", "prometheus-client==0.7.1", # locked version as we rely on internals "psycogreen", - "psycopg2", + "psycopg2-binary", "python-dateutil", "requests", "wubloader-common", diff --git a/thrimshim/setup.py b/thrimshim/setup.py index 364c47f..a9a26c8 100644 --- a/thrimshim/setup.py +++ b/thrimshim/setup.py @@ -10,7 +10,7 @@ setup( "gevent", "google-auth", "psycogreen", - "psycopg2", + "psycopg2-binary", "requests", "wubloader-common", ],