From 1c39c04194230bc025ace68644ec8ab38bcbb040 Mon Sep 17 00:00:00 2001 From: frknkrc44 Date: Fri, 2 Jul 2021 00:37:23 +0300 Subject: [PATCH] hotfix --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a3bc67d0..a73fca58 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ class PostgresConfig: self.pg_config_exe = self.autodetect_pg_config_path() self.pkg_config_exe = self.build_ext.pkg_config self.using_pkg_config = self.pkg_config_exe is not None - if not self.pkg_config_exe: + if not self.pg_config_exe and not self.pkg_config_exe: self.pkg_config_exe = self.autodetect_pkg_config_path() self.using_pkg_config = self.pkg_config_exe is not None if not self.pg_config_exe and not self.pkg_config_exe: