mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Change psycopg-binary in setup_pip.py file.
This commit is contained in:
committed by
Akshay Joshi
parent
59edf50c02
commit
d053742ca4
@@ -39,8 +39,8 @@ kerberos_extras = []
|
||||
# Ensure the Wheel will use psycopg-binary, not the source distro, and stick
|
||||
# gssapi in it's own list
|
||||
for index, req in enumerate(all_requires):
|
||||
if 'psycopg' in req:
|
||||
req = req.replace('psycopg', 'psycopg-binary')
|
||||
if 'psycopg[c]' in req:
|
||||
req = req.replace('psycopg[c]', 'psycopg-binary')
|
||||
|
||||
if 'gssapi' in req:
|
||||
kerberos_extras.append(req)
|
||||
|
||||
Reference in New Issue
Block a user