Example #1
0
def get_shake():

    shake = utilities.find_executable_path('shake')

    if shake:
        return shake

    if platform.system() == 'Darwin':
        path = '/Applications/Shake/shake.app/Contents/MacOS/shake'
        if os.path.exists(path):
            return path

    return None
Example #2
0
def get_shake():
    
    shake = utilities.find_executable_path('shake')
    
    if shake:
        return shake
    
    if platform.system() == 'Darwin':
        path = '/Applications/Shake/shake.app/Contents/MacOS/shake'
        if os.path.exists(path):
            return path
        
    return None
Example #3
0
def get_rv():
    rv_exe = ['RV64']
    if platform.machine() == 'i386':
        rv_exe.insert(0, 'RV')
    for exe in rv_exe:
        rv = utilities.find_executable_path(exe)
        if rv:
            return rv
    if platform.system() == 'Darwin':
        rv_paths = ['/Applications/RV64.app/Contents/MacOS/RV64']
        if platform.machine() == 'i386':
            rv_paths.insert(0,'/Applications/RV.app/Contents/MacOS/RV')
            
        for path in rv_paths:
            if os.path.exists(path):
                return path
Example #4
0
def get_rv():
    rv_exe = ['RV64']
    if platform.machine() == 'i386':
        rv_exe.insert(0, 'RV')
    for exe in rv_exe:
        rv = utilities.find_executable_path(exe)
        if rv:
            return rv
    if platform.system() == 'Darwin':
        rv_paths = ['/Applications/RV64.app/Contents/MacOS/RV64']
        if platform.machine() == 'i386':
            rv_paths.insert(0, '/Applications/RV.app/Contents/MacOS/RV')

        for path in rv_paths:
            if os.path.exists(path):
                return path
def get_identify():
    executable = utilities.find_executable_path('identify')
    
    assert executable
    return executable
def get_convert():
    executable = utilities.find_executable_path('convert')
    
    assert executable
    return executable
Example #7
0
def get_ffmpeg():
    ffmpeg = utilities.find_executable_path('ffmpeg')
    assert ffmpeg
    return ffmpeg
Example #8
0
def get_ffprobe():
    ffprobe = utilities.find_executable_path('ffprobe')
    
    assert ffprobe
    return ffprobe
Example #9
0
def get_identify():
    executable = utilities.find_executable_path('identify')

    assert executable
    return executable
Example #10
0
def get_convert():
    executable = utilities.find_executable_path('convert')

    assert executable
    return executable