From d728fed253b71a3d2a1b0feb9020d7b9f88daba3 Mon Sep 17 00:00:00 2001
From: Ian Galpin <ian.galpin@geant.org>
Date: Thu, 1 Dec 2022 23:36:23 +0000
Subject: [PATCH] Changed to psycopg2-binary to allow building on release
server
---
requirements.txt | 2 +-
setup.py | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index 5b9fb4a4..3c691539 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,7 +4,7 @@ Flask
Flask-Cors
Flask-SQLAlchemy
Flask-Migrate
-psycopg2
+psycopg2-binary
Sphinx
sphinx-rtd-theme
SQLAlchemy
diff --git a/setup.py b/setup.py
index 454edffb..f9cb3912 100644
--- a/setup.py
+++ b/setup.py
@@ -15,8 +15,9 @@ setup(
'flask-cors',
'flask',
'Flask-Migrate',
- 'psycopg2',
- 'SQLAlchemy'
+ 'psycopg2-binary',
+ 'SQLAlchemy',
+ 'Flask-SQLAlchemy'
],
include_package_data=True,
)
--
GitLab