setup.py
def monkey_patch_THD_link_flags():
    '''
    THD's dynamic link deps are not determined until after build_deps is run
    So, we need to monkey-patch them in later
    '''
    # read tmp_install_path/THD_deps.txt for THD's dynamic linkage deps
    with open(tmp_install_path + '/THD_deps.txt', 'r') as f:
        thd_deps_ = f.read()
    thd_deps = []
    # remove empty lines
    for l in thd_deps_.split(';'):
        if l != '':
            thd_deps.append(l)

    C.extra_link_args += thd_deps

    THD's dynamic link deps are not determined until after build_deps is run
    So, we need to monkey-patch them in later
    
THD's dynamic link deps are not determined until after build_deps is run
So, we need to monkey-patch them in later
THD ' s dynamic link deps are not determined until after build_deps is run So we need to monkey - patch them in later
def monkey_patch_THD_link_flags():
    with open(tmp_install_path + '/THD_deps.txt', 'r') as f:
        thd_deps_ = f.read()
    thd_deps = []
    for l in thd_deps_.split(';'):
        if l != '':
            thd_deps.append(l)
    C.extra_link_args += thd_deps
def monkey_patch_THD_link_flags ( ) : with open ( tmp_install_path + '/THD_deps.txt' , 'r' ) as f : thd_deps_ = f . read ( ) thd_deps = [ ] for l in thd_deps_ . split ( ';' ) : if l != '' : thd_deps . append ( l ) C . extra_link_args += thd_deps
THD's dynamic link deps are not determined until after build_deps is run
So, we need to monkey-patch them in later
THD ' s dynamic link deps are not determined until after build_deps is run So we need to monkey - patch them in later
'''
    THD's dynamic link deps are not determined until after build_deps is run
    So, we need to monkey-patch them in later
    ''' # read tmp_install_path/THD_deps.txt for THD's dynamic linkage deps # remove empty lines