[issue36640] python ibm_db setup.py post install script does not seem to work from Anaconda

Saba Kauser report at bugs.python.org
Tue Apr 16 05:22:51 EDT 2019


New submission from Saba Kauser <skauseribmdb at gmail.com>:

Hi,
I have added a post install class that's working fine when I do "pip install ibm_db" on MAC. However, when I use the python/pip from anaconda3(python 3.7), the same pip is not executing the post install script.
Can some one please take a look at assist.
The class can be seen at:
https://github.com/ibmdb/python-ibmdb/blob/master/IBM_DB/ibm_db/setup.py#L52

Post install, I am expecting following output:
BLR-D-MACOS03:site-packages skauser$ otool -L ibm_db.cpython-37m-darwin.so
ibm_db.cpython-37m-darwin.so:
        @loader_path/clidriver/lib/libdb2.dylib (compatibility version 0.0.0, current version 0.0.0)

When executing from Anaconda, the name of libdb2.dylib is unchanged.

I would also like to know how can I verbose the print/log statements of my setup.py via pip  install.

----------
components: Build
messages: 340324
nosy: sabakauser
priority: normal
severity: normal
status: open
title: python ibm_db setup.py post install script does not seem to work from Anaconda
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36640>
_______________________________________


More information about the Python-bugs-list mailing list