Skip to content

Commit

Permalink
Fix Issue dbcli#1413, win32 psycopg
Browse files Browse the repository at this point in the history
  • Loading branch information
ERYoung11 committed Feb 4, 2024
1 parent e2ff38d commit 6ef92a2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# We still need to use pt-2 unless pt-3 released on Fedora32
# see: https://github.com/dbcli/pgcli/pull/1197
"prompt_toolkit>=2.0.6,<4.0.0",
"psycopg >= 3.0.14",
"psycopg >= 3.0.14; sys_platform != 'win32'"
"psycopg-binary >= 3.0.14; sys_platform == 'win32'",
"sqlparse >=0.3.0,<0.5",
"configobj >= 5.0.6",
"pendulum>=2.1.0",
Expand All @@ -27,11 +28,6 @@
if platform.system() != "Windows" and not platform.system().startswith("CYGWIN"):
install_requirements.append("setproctitle >= 1.1.9")

# Windows will require the binary psycopg to run pgcli
if platform.system() == "Windows":
install_requirements.append("psycopg-binary >= 3.0.14")


setup(
name="pgcli",
author="Pgcli Core Team",
Expand Down

0 comments on commit 6ef92a2

Please sign in to comment.