[ZODB-Dev] Make DCOracle/setup.py set the Oracle include directories properly

Luc Saffre luc.saffre@gmx.net
Mon, 10 Dec 2001 15:26:06 +0200


The readme.txt says:
"""
TODO:
Make DCOracle/setup.py set the Oracle include directories properly
"""

I suggest to do the following change:

replace:
# Prefix all the directories with the Oracle home directory
ORACLE_INCLUDES = map(lambda x: os.path.join(ORACLE_HOME, x), ORACLE_LIBDIRS)
ORACLE_LIBDIRS = map(lambda x: os.path.join(ORACLE_HOME, x), ORACLE_LIBDIRS)
with:
# Prefix all the directories with the Oracle home directory
ORACLE_INCLUDES = map(lambda x: os.path.join(ORACLE_HOME, x), ORACLE_INCLUDES)
ORACLE_LIBDIRS = map(lambda x: os.path.join(ORACLE_HOME, x), ORACLE_LIBDIRS)

I did not test this, but it seems to me an obvious little bug.

Luc