Update of /cvsroot/pypgsql/pypgsql
In directory sc8-pr-cvs1:/tmp/cvs-serv420
Modified Files:
README.win32
Log Message:
01DEC2002 gh Updates for changed build process.
Index: README.win32
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/README.win32,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** README.win32 2 Oct 2002 03:59:05 -0000 1.3
--- README.win32 1 Dec 2002 19:30:56 -0000 1.4
***************
*** 23,28 ****
project or from Cygwin.
! I maintain Makefiles for compiling libpq with mingw32. You can look at my
! home page for them (http://www.cs.fhm.edu/~ifw00065/) or ask me via email.
--- 23,28 ----
project or from Cygwin.
! I maintain patches to add Makefiles for compiling libpq with mingw32. They're
! available at http://pypgsql.sourceforge.net/misc/postgresql.html
***************
*** 30,64 ****
===================
! 2.1 Adjust setup.py
! -------------------
! 2.1.1 For Visual C++
! - Adjust win_pg_build_root to point to your PostgreSQL source tree
! - Change library_dirs to
! library_dirs = [win_pg_build_root + "src/interfaces/libpq/Release"]
! - Change this line:
! optional_libs += ["pqdll"]
! to:
! optional_libs += ["libpqdll"]
! - copy the libpq.dll file from the PostgreSQL source tree to the pyPgSQL root
! directory
! 2.1.2 For gcc (mingw32)
! - Adjust win_pg_build_root to point to your PostgreSQL source tree
! - Change this line:
! optional_libs += ["pqdll"]
! to:
! optional_libs += ["pq"]
! if you want to link against PostgreSQL's libpq statically
! - copy the libpq.dll file from the PostgreSQL source tree to the pyPgSQL root
! directory, but if you want to link statically against PostgreSQL's libpq,
! change the following line instead:
! data_files = ["libpq.dll"]
! to:
! data_files = []
! 2.2 Building
------------
--- 30,48 ----
===================
! 2.1 Environment settings
! ------------------------
! - Set the PG_SRC environment variable to your PostgreSQL source tree, if you
! need to override the default setting of "../postgresql".
! 2.2 Adjusting setup.py
! ----------------------
! If you're using gcc, you can skip this step.
! For Visual C++, see the comments in the win32 section of setup.py, and
! (un)comment the various lines appropriately.
! 2.3 Building
------------
***************
*** 76,80 ****
Remarks:
- The "install" and bdist_wininst commands imply "build"
! - If you have installed Cygwin's Python, you need to provide the full path to
! the native win32 Python you want to use; I prefer to have a copy of the win32
! Python under an alternative name like ntpython in my PATH
--- 60,62 ----
Remarks:
- The "install" and bdist_wininst commands imply "build"
! - If you have also installed Cygwin's Python, be sure to invoke the win32 Python.
|