summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--setup.cfg11
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 59a5f46..5c70491 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-06-18 Federico Di Gregorio <fog@initd.org>
+ * setup.cfg: some clarifications and include_dirs example for Mandrake.
+
* ZPsycopgDA/DA.py: DTMLFile -> HTMLFile everywhere to fix zope cut&paste
problems.
diff --git a/setup.cfg b/setup.cfg
index 76b73d5..c6e7d78 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[build_ext]
-
define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
# PSYCOPG_DEBUG can be added to enable verbose debug information
# PSYCOPG_OWN_QUOTING can be added above but it is deprecated
@@ -8,11 +7,15 @@ define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
use_pydatetime=1
# include_dirs is the preferred method for locating postgresql headers,
-# but some extra checks on sys.platform will still be done in setup.py
+# but 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 system:
include_dirs=.:/usr/include/postgresql:/usr/include/postgresql/server
+# uncomment next line on Mandrake 10.1 (and comment previous one):
+#include_dirs=.:/usr/include/pgsql:/usr/include/pgsql/server
-# if postgresql is installed somewhere weird, just add the right path in
-# library_dir any extra libraries required to link in libraries
+# if postgresql is installed somewhere weird (i.e., not in your runtime library
+# path like /usr/lib), just add the right path in "library_dir" any extra
+# libraries required to link in "libraries".
#library_dirs=
#libraries=