mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-09-21 03:08:57 +03:00
Dropped references to psycopg 1 from readme and install.
Nowaday not many remember it: I think it's useless to make comparisons.
This commit is contained in:
parent
ed3b2188fe
commit
6f51eefac3
7
INSTALL
7
INSTALL
|
@ -6,9 +6,10 @@ Compiling and installing psycopg
|
||||||
option. psycopg2 will work correctly even with a non-thread-safe libpq but
|
option. psycopg2 will work correctly even with a non-thread-safe libpq but
|
||||||
libpq will leak memory.
|
libpq will leak memory.
|
||||||
|
|
||||||
While psycopg 1.x used autoconf for its build process psycopg 2 switched to
|
psycopg2 uses distutils for its build process, so most of the process is
|
||||||
the more pythonic setup.py. Before building psycopg look at setup.cfg file
|
executed by the setup.py script. Before building psycopg look at
|
||||||
and change any settings to follow your system (or taste); then:
|
setup.cfg file and change any settings to follow your system (or taste);
|
||||||
|
then:
|
||||||
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
|
|
17
README
17
README
|
@ -2,21 +2,18 @@ psycopg2 - Python-PostgreSQL Database Adapter
|
||||||
********************************************
|
********************************************
|
||||||
|
|
||||||
psycopg2 is a PostgreSQL database adapter for the Python programming
|
psycopg2 is a PostgreSQL database adapter for the Python programming
|
||||||
language. This is version 2, a complete rewrite of the original code to
|
language. psycopg2 was written with the aim of being very small and fast,
|
||||||
provide new-style classes for connection and cursor objects and other
|
and stable as a rock.
|
||||||
sweet candies. Like the original, psycopg2 was written with the aim of
|
|
||||||
being very small and fast, and stable as a rock.
|
|
||||||
|
|
||||||
psycopg2 is different from the other database adapter because it was
|
psycopg2 is different from the other database adapter because it was
|
||||||
designed for heavily multi-threaded applications that create and destroy
|
designed for heavily multi-threaded applications that create and destroy
|
||||||
lots of cursors and make a conspicuous number of concurrent INSERTs or
|
lots of cursors and make a conspicuous number of concurrent INSERTs or
|
||||||
UPDATEs. psycopg2 also provide full asycronous operations for the really
|
UPDATEs. psycopg2 also provide full asycronous operations and support
|
||||||
brave programmer.
|
for coroutine libraries.
|
||||||
|
|
||||||
There are confirmed reports of psycopg 1.x compiling and running on Linux
|
psycopg2 can compile and run on Linux, FreeBSD, Solaris, MacOS X and
|
||||||
and FreeBSD on i386, Solaris, MacOS X and win32 architectures. psycopg2
|
Windows architecture. It supports Python versions from 2.4 onwards and
|
||||||
does not introduce build-wise incompatible changes so it should be able to
|
PostgreSQL versions from 7.4 onwards.
|
||||||
compile on all architectures just as its predecessor did.
|
|
||||||
|
|
||||||
psycopg2 is free software ("free as in freedom" but I like beer too.)
|
psycopg2 is free software ("free as in freedom" but I like beer too.)
|
||||||
It is licensed under the GNU Lesser General Public License, version 3 or
|
It is licensed under the GNU Lesser General Public License, version 3 or
|
||||||
|
|
14
setup.py
14
setup.py
|
@ -14,17 +14,15 @@
|
||||||
|
|
||||||
"""Python-PostgreSQL Database Adapter
|
"""Python-PostgreSQL Database Adapter
|
||||||
|
|
||||||
psycopg is a PostgreSQL database adapter for the Python programming
|
psycopg2 is a PostgreSQL database adapter for the Python programming
|
||||||
language. This is version 2, a complete rewrite of the original code to
|
language. psycopg2 was written with the aim of being very small and fast,
|
||||||
provide new-style classes for connection and cursor objects and other sweet
|
and stable as a rock.
|
||||||
candies. Like the original, psycopg 2 was written with the aim of being
|
|
||||||
very small and fast, and stable as a rock.
|
|
||||||
|
|
||||||
psycopg is different from the other database adapter because it was
|
psycopg2 is different from the other database adapter because it was
|
||||||
designed for heavily multi-threaded applications that create and destroy
|
designed for heavily multi-threaded applications that create and destroy
|
||||||
lots of cursors and make a conspicuous number of concurrent INSERTs or
|
lots of cursors and make a conspicuous number of concurrent INSERTs or
|
||||||
UPDATEs. psycopg 2 also provide full asycronous operations for the really
|
UPDATEs. psycopg2 also provide full asycronous operations and support
|
||||||
brave programmer.
|
for coroutine libraries.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
classifiers = """\
|
classifiers = """\
|
||||||
|
|
Loading…
Reference in New Issue
Block a user