From: Billy G. A. <bal...@us...> - 2003-07-14 21:02:05
|
Update of /cvsroot/pypgsql/pypgsql In directory sc8-pr-cvs1:/tmp/cvs-serv32557 Modified Files: setup.py Log Message: 14JUL2003 bga Updated file for the 2.4 release. Added support for the SCO OpenUnix OS. Index: setup.py =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/setup.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** setup.py 25 Apr 2003 00:34:03 -0000 1.21 --- setup.py 14 Jul 2003 21:02:02 -0000 1.22 *************** *** 77,81 **** from distutils.extension import Extension ! __version__ = "2.3" # Define the runtime library path for this module. It starts out as None. --- 77,81 ---- from distutils.extension import Extension ! __version__ = "2.4" # Define the runtime library path for this module. It starts out as None. *************** *** 109,112 **** --- 109,117 ---- include_dirs.append("../" * 5) elif sys.platform[:8] == "unixware": + LOCALBASE = os.environ.get('LOCALBASE', '/usr/local/pgsql') + include_dirs = ['%s/include' % LOCALBASE] + library_dirs = ['%s/lib' % LOCALBASE] + pypgsql_rt_dirs = library_dirs + elif sys.platform[:8] == "openunix": LOCALBASE = os.environ.get('LOCALBASE', '/usr/local/pgsql') include_dirs = ['%s/include' % LOCALBASE] |