Closed GoogleCodeExporter closed 9 years ago
Original comment by abhigyan...@in.ibm.com
on 29 Sep 2008 at 3:58
I am still to fully go through this one. My concern is that if one is using IBM
DS
driver for odbc, cli and .net (or thinCLI), these env variables would not be
available.
eggs are recommended way if you are installing this on 32 bit Windows or 32 bit
Linux machines. (In these cases, no dependencies on these env variables).
Otherwise, building from source will be helpful. I have updated error message
in
setup.py.
Your thoughts are welcome.
Original comment by abhigyan...@in.ibm.com
on 8 Oct 2008 at 6:31
Hmmm... it's a valid point that people using the lightweight client would need
to
set some environment variables, one way or another, and in fact my patch above
won't
be sufficient for such people (at least on Windows the PATH search for db2.exe
will
fail).
However, I don't see the point of inventing new environment variables that
no-one's
familiar with. If the setup.py script sticks with the environment set up by the
"full" client (however weird and non-cross-platform it may be :-) we get the
best
scenario all round:
* People using the full client wouldn't need to do anything beyond run setup.py
as
they would any other Python package.
* People using the lightweight client would need to set up some environment
variables, but they'd be familiar changes to those experienced in using the
full
client, and for those not experienced, the changes would be of the same order
of
complexity as the current instructions.
Anyway, as mentioned above the current patch isn't sufficient because it'll
fail at
least one of the scenarios. I'll try and have a look at the lightweight client
later
this week and see if I can figure out some sort of automated search if possible
or
failing that a set of instructions on the necessary environment changes, then
tweak
the patch accordingly.
Original comment by wavefor...@gmail.com
on 14 Oct 2008 at 3:16
Thanks Dave.
Original comment by abhigyan...@in.ibm.com
on 14 Oct 2008 at 5:56
Original comment by abhigyan...@in.ibm.com
on 2 Mar 2009 at 9:56
Original issue reported on code.google.com by
wavefor...@gmail.com
on 27 Sep 2008 at 11:41Attachments: