Message337850
I am able to get this to work.
I just needed to invoke parent's run prior to the post install commands.
if('darwin' in sys.platform):
class PostInstall(install):
""" Post installation - run install_name_tool on Darwin """
def run(self):
install.run(self)
clipath = os.getenv('IBM_DB_HOME', '@loader_path/clidriver')
print("in PostInstall with {}".format(clipath))
for so in glob.glob(r'build/lib*/ibm_db*.so'):
os.system("install_name_tool -change libdb2.dylib {}/lib/libdb2.dylib {}".format(clipath, so))
cmd_class = dict(install = PostInstall) |
|
Date |
User |
Action |
Args |
2019-03-13 13:22:54 | sabakauser | set | recipients:
+ sabakauser |
2019-03-13 13:22:54 | sabakauser | set | messageid: <1552483374.77.0.941742991683.issue36269@roundup.psfhosted.org> |
2019-03-13 13:22:54 | sabakauser | link | issue36269 messages |
2019-03-13 13:22:54 | sabakauser | create | |
|