setup.py install script detect a copy of DS Driver through IBM_DB_HOME
configuration variable, It doesn't scan the disc to detect DS Driver.
Since you are setting IBM_DB_HOME before pip install, you might is using #sudo pip install , in this way the current terminal's environment variable doesn't apply for sudo user. You need to first use #sudo -s, then set IBM_DB_HOME and issue pip install command.
>>>
Additionally, DSdriver requires a config file of one fashion or another,
where would they be located in the event of pip install providing a
copy of the DSdriver? if they are in the site-packages folder is there a
possibility that they could be overwritten on updates/future installs?
<<<
you can find db2dsdriver.cfg config file in your "/usr/lib/python2.7/site-packages/clidriver/cfg" directory. DS Driver will get updated during update/future instals.
Thanks,
Rahul