Changeset 361 for trunk/docs


Ignore:
Timestamp:
Nov 21, 2008, 12:08:17 PM (11 years ago)
Author:
cito
Message:

Some adaptions for Py 2.6 and Windows.

Location:
trunk/docs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/future.txt

    r360 r361  
    2626  and should get its own unit test module.
    2727- The fetch method should use real cursors.
    28 - What shall we do with the "tutorial" directory?
    29   - it's rather a tutorial for Postgres/SQL than for PyGreSQL
    30   - it' using only the query method from the classic pg module,
    31     no other PyGreSQL functionality
    32   - it's rather a demo than a tutorial
     28- What shall we do with the "tutorial" directory
     29  (it's rather a tutorial for Postgres/SQL than for PyGreSQL,
     30  it' using only the query method from the classic pg module and
     31  no other PyGreSQL functionality, it's rather a demo than a tutorial)?
    3332
    3433
  • trunk/docs/install.txt

    r351 r361  
    5757--------------------------------------
    5858
    59 You can build and install PyGreSQL using Distutils.
    60 
    61 On a Microsoft Windows system, you should have the Microsoft Visual C++ compiler
    62 and the Microsoft .NET Framework SDK installed and on your search path.
    63 If you want to use the free Microsoft Visual C++ Toolkit 2003 compiler,
    64 you need to `patch distutils <http://www.vrplumber.com/programming/mstoolkit/>`_.
    65 Alternatively, you can use `MinGW <http://www.mingw.org>`_.
     59You can build and install PyGreSQL using
     60`Distutils <http://docs.python.org/install/>`_.
    6661
    6762Download and unpack the PyGreSQL source tarball if you haven't already done so.
     
    7267    python setup.py install
    7368
    74 Note that the official Python 2.4 distribution for Microsoft Windows is now
    75 using msvcr71 instead of msvcrt as its common runtime library. So, if you are
    76 using MinGW to build PyGreSQL for Python 2.4 on a Windows system, you should
    77 edit the file ``%MinGWpath%/lib/gcc/%MinGWversion%/specs`` and change the entry
    78 that reads ``-lmsvcrt`` to ``-lmsvcr71``. Then use the following command to
    79 build and install PyGreSQL::
     69If you are using `MinGW <http://www.mingw.org>`_ to build PyGreSQL on a
     70Microsoft Windows, please note that Python newer version 2.3 is using msvcr71
     71instead of msvcrt as its common runtime library. You can allow for that by
     72editing the file ``%MinGWpath%/lib/gcc/%MinGWversion%/specs`` and changing
     73the entry that reads ``-lmsvcrt`` to ``-lmsvcr71``. You may also need to copy
     74``libpq.lib`` to ``libpq.a`` in the PostgreSQL ``lib`` directory. Then use
     75the following command to build and install PyGreSQL::
    8076
    8177    python setup.py build -c mingw32 install
Note: See TracChangeset for help on using the changeset viewer.