3 --- setup.py.orig 2004-01-17 14:10:14.000000000 +0100
4 +++ setup.py 2004-01-17 14:11:27.000000000 +0100
8 # Set this to 1 if you need to use your own settings
12 # Default settings, may be overriden for specific platforms
13 pypgsql_rt_dirs = None
18 - include_dirs = YOUR_LIST_HERE
19 - library_dirs = YOUR_LIST_HERE
20 + LOCALBASE = os.environ.get('LOCALBASE', '/usr/pkg')
21 + include_dirs = ['%s/include/pgsql' % LOCALBASE]
22 + library_dirs = ['%s/lib' % LOCALBASE]
23 elif sys.platform == "linux2":
24 include_dirs = ["/usr/include", "/usr/include/postgresql",