diff options
author | Federico Di Gregorio <fog@initd.org> | 2006-01-05 04:19:01 +0000 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2006-01-05 04:19:01 +0000 |
commit | d5674253ca184e9ddedec34a3475104dbc6e2962 (patch) | |
tree | 3b199b732e6a8cbcf135a4305f3646d9a72687c1 /setup.cfg | |
parent | c79e92e9284c59fe8161e57b14a473bc0687335b (diff) | |
download | psycopg2-d5674253ca184e9ddedec34a3475104dbc6e2962.tar.gz |
We now use pg_config in setup.py (closes: #70).
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -20,16 +20,23 @@ use_decimal=0 # uncommenting the following line and setting its value to the right path. #mx_include_dir= -# "include_dirs" is the preferred method for locating postgresql headers, -# but some extra checks on sys.platform will still be done in setup.py. +# "pg_config" is the preferred method to locate PostgreSQL headers and +# libraries needed to build psycopg2. If pg_config is not in the path or +# is installed under a different name uncomment the following option and +# set it to the pg_config full path. +#pg_config= + +# If "pg_config" is not available, "include_dirs" can be used to locate +# postgresql headers and libraries. Some extra checks on sys.platform will +# still be done in setup.py. # The next line is the default as used on psycopg author Debian laptop: -include_dirs=.:/usr/include/postgresql:/usr/include/postgresql/server +#include_dirs=/usr/include/postgresql:/usr/include/postgresql/server # Uncomment next line on Mandrake 10.x (and comment previous ones): -#include_dirs=.:/usr/include/pgsql/8.0:/usr/include/pgsql/8.0/server +#include_dirs=/usr/include/pgsql/8.0:/usr/include/pgsql/8.0/server # Uncomment next line on SUSE 9.3 (and comment previous ones): -#include_dirs=.:/usr/include/pgsql:/usr/include/pgsql/server +#include_dirs=/usr/include/pgsql:/usr/include/pgsql/server # If postgresql is installed somewhere weird (i.e., not in your runtime library # path like /usr/lib), just add the right path in "library_dirs" and any extra |