예제 #1
0
def main():
    for fn in os.listdir(LIBVTK):
        path = join(LIBVTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_libvtk)

    for fn in os.listdir(BIN):
        path = join(BIN, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_bin)

    for fn in os.listdir(SP_VTK):
        path = join(SP_VTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_spvtk)
예제 #2
0
def main():
    for fn in os.listdir(LIBVTK):
        path = join(LIBVTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_libvtk)

    for fn in os.listdir(BIN):
        path = join(BIN, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_bin)

    for fn in os.listdir(SP_VTK):
        path = join(SP_VTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_spvtk)
예제 #3
0
파일: post.py 프로젝트: esc24/conda-build
def is_obj(path):
    assert sys.platform != 'win32'
    return bool((sys.platform.startswith('linux') and elf.is_elf(path)) or
                (sys.platform == 'darwin' and macho.is_macho(path)))
예제 #4
0
def is_obj(path):
    assert sys.platform != 'win32'
    return bool((sys.platform.startswith('linux') and elf.is_elf(path))
                or (sys.platform == 'darwin' and macho.is_macho(path)))
예제 #5
0
파일: post.py 프로젝트: shoyer/conda-build
def is_obj(path):
    assert sys.platform != "win32"
    return bool(
        (sys.platform.startswith("linux") and elf.is_elf(path)) or (sys.platform == "darwin" and macho.is_macho(path))
    )