3
by Federico Di Gregorio
Undo of wrong commit of 1.1.x source code over 2.x. |
1 |
Compiling and installing psycopg |
2 |
******************************** |
|
3 |
||
4 |
While psycopg 1.x used autoconf for its build process psycopg 2 switched to |
|
5 |
the more pythoning setup.py. Currently both psycopg's author and distutils |
|
6 |
have some limitations so the file setup.cfg is almost unused and most build |
|
7 |
options are hidden in setup.py. Before building psycopg look at the very |
|
8 |
first lines of setup.py and change any settings to follow your system (or |
|
9 |
taste); then: |
|
10 |
||
11 |
python setup.py build |
|
12 |
||
13 |
to build in the local directory; and: |
|
14 |
||
15 |
python setup.py install |
|
16 |
||
17 |
to install system-wide. |
|
18 |