blob: 104d692a33a6dabc125bcc09853bdfa5aa6a998e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Upstream-status: Inappropriate [embedded specific]
The package uses the pg_config command to detect the libdir and includedir path.
Commented the lines because the command is not available at buildtime and the
package succesfully build without them.
Index: psycopg2-2.5/setup.py
===================================================================
--- psycopg2-2.5.orig/setup.py
+++ psycopg2-2.5/setup.py
@@ -377,9 +377,6 @@ class psycopg_build_ext(build_ext):
self.libraries.append("pq")
try:
- self.library_dirs.append(pg_config_helper.query("libdir"))
- self.include_dirs.append(pg_config_helper.query("includedir"))
- self.include_dirs.append(pg_config_helper.query("includedir-server"))
try:
# Here we take a conservative approach: we suppose that
# *at least* PostgreSQL 7.4 is available (this is the only
|