Update of /usr/cvs/Public/pygresql/docs
In directory druid.net:/tmp/cvs-serv15599/docs
Modified Files:
future.txt install.txt
Log Message:
Some adaptions for Py 2.6 and Windows.
To see the diffs for this commit:
http://www.druid.net/pygresql/viewcvs.cgi/cvs/pygresql/docs/future.txt.diff?r1=1.14&r2=1.15
Index: future.txt
===================================================================
RCS file: /usr/cvs/Public/pygresql/docs/future.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- future.txt 21 Nov 2008 13:55:22 -0000 1.14
+++ future.txt 21 Nov 2008 17:08:17 -0000 1.15
@@ -25,11 +25,10 @@
- The C module needs to be cleaned up and redundant code merged,
and should get its own unit test module.
- The fetch method should use real cursors.
-- What shall we do with the "tutorial" directory?
- - it's rather a tutorial for Postgres/SQL than for PyGreSQL
- - it' using only the query method from the classic pg module,
- no other PyGreSQL functionality
- - it's rather a demo than a tutorial
+- What shall we do with the "tutorial" directory
+ (it's rather a tutorial for Postgres/SQL than for PyGreSQL,
+ it' using only the query method from the classic pg module and
+ no other PyGreSQL functionality, it's rather a demo than a tutorial)?
Proposed Patches
http://www.druid.net/pygresql/viewcvs.cgi/cvs/pygresql/docs/install.txt.diff?r1=1.10&r2=1.11
Index: install.txt
===================================================================
RCS file: /usr/cvs/Public/pygresql/docs/install.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- install.txt 19 Nov 2008 18:42:01 -0000 1.10
+++ install.txt 21 Nov 2008 17:08:17 -0000 1.11
@@ -56,13 +56,8 @@
Building and installing with Distutils
--------------------------------------
-You can build and install PyGreSQL using Distutils.
-
-On a Microsoft Windows system, you should have the Microsoft Visual C++
compiler
-and the Microsoft .NET Framework SDK installed and on your search path.
-If you want to use the free Microsoft Visual C++ Toolkit 2003 compiler,
-you need to `patch distutils
<http://www.vrplumber.com/programming/mstoolkit/>`_.
-Alternatively, you can use `MinGW <http://www.mingw.org>`_.
+You can build and install PyGreSQL using
+`Distutils <http://docs.python.org/install/>`_.
Download and unpack the PyGreSQL source tarball if you haven't already done so.
@@ -71,12 +66,13 @@
python setup.py build
python setup.py install
-Note that the official Python 2.4 distribution for Microsoft Windows is now
-using msvcr71 instead of msvcrt as its common runtime library. So, if you are
-using MinGW to build PyGreSQL for Python 2.4 on a Windows system, you should
-edit the file ``%MinGWpath%/lib/gcc/%MinGWversion%/specs`` and change the entry
-that reads ``-lmsvcrt`` to ``-lmsvcr71``. Then use the following command to
-build and install PyGreSQL::
+If you are using `MinGW <http://www.mingw.org>`_ to build PyGreSQL on a
+Microsoft Windows, please note that Python newer version 2.3 is using msvcr71
+instead of msvcrt as its common runtime library. You can allow for that by
+editing the file ``%MinGWpath%/lib/gcc/%MinGWversion%/specs`` and changing
+the entry that reads ``-lmsvcrt`` to ``-lmsvcr71``. You may also need to copy
+``libpq.lib`` to ``libpq.a`` in the PostgreSQL ``lib`` directory. Then use
+the following command to build and install PyGreSQL::
python setup.py build -c mingw32 install
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql