From: Bruce Momjian Date: Thu, 12 Jun 2003 02:15:09 +0000 (+0000) Subject: I succeeded by fixing up setup.py: X-Git-Tag: REL7_4_BETA1~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cef8ea790e692713c7685b4e8d2a832896d66f3;p=postgresql I succeeded by fixing up setup.py: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv --- setup.py~ Tue Mar 19 08:21:14 2002 +++ setup.py Wed May 14 15:10:30 2003 @@ -30,8 +30,8 @@ optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ] data_files = [ 'libpq.dll' ] else: - include_dirs=['/usr/include/pgsql'] - library_dirs=['usr/lib/pgsql'] + include_dirs=['../../include','../libpq','/usr/include/pgsql'] + library_dirs=['../libpq','/usr/lib/pgsql'] optional_libs=['pq'] data_files = [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ George Young --- diff --git a/src/interfaces/python/setup.py b/src/interfaces/python/setup.py index 9d323c700c..114d86345c 100755 --- a/src/interfaces/python/setup.py +++ b/src/interfaces/python/setup.py @@ -30,8 +30,8 @@ if sys.platform == "win32": optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ] data_files = [ 'libpq.dll' ] else: - include_dirs=['/usr/include/pgsql'] - library_dirs=['/usr/lib/pgsql'] + include_dirs=['../../include','../libpq','/usr/include/pgsql'] + library_dirs=['../libpq','/usr/lib/pgsql'] optional_libs=['pq'] data_files = []