[Zope-DB] Guide to ZOracleDA/DCOracle2?

Matthew T. Kromer matt@zope.com
Tue, 20 Nov 2001 08:11:22 -0500


Hi Haden.

ZOracleDA is the Zope Oracle datapter; you only need it if you want to
access DCOracle2 from Zope.  All of the files are together for the
convienience of Zope users (and mine, w.r.t packaging).

If you dont use Zope, you can just use DCOracle2/DCOracle2 and the
corresponding binary for your platform from the binaries directory, or build
from the src directory.

.pyc files are "compiled" python bytecodes, .pyd files are "python-DLL"
files (ie REAL compiled files).

You still have to set up ORACLE_HOME like normal; but on NT systems, that's
probably taken care of you by a registry setting (so you dont need it).
Pretty much the same for PYTHONPATH -- it will probably be derived from your
registry entries for Python, so you'd only need to set it if you installed
DCOracle2 in a place the interpreter would not find it.

----- Original Message -----
From: "Haden Peterson" <hadenpeterson@yahoo.com>
To: <zope-db@zope.org>
Sent: Sunday, November 18, 2001 1:52 PM
Subject: [Zope-DB] Guide to ZOracleDA/DCOracle2?


> Is there any kind of installation guide (other than
> the included README) for ZOracle database adapter?
>
> I'm attempting to install it on a Win2K sytem and need
> answers to a few questions...
>
> What's differentiates ZOracleDA from DCOracle?
> Do I need to build one or both of these into a binary
> with a C compiler? (just typing 'make' doesn't do
> anything) Or does Python build some kind of persistent
> file?
>
> What are files with extensions .pyc and .pyd -
> executables?
>
> Do I have to manually set up the PYTHONPATH and
> ORACLE_HOME environment variables?
>
> Any help - greatly appreciated!