

def GetInstallRequires():
    'Returns the install_requires for setup.py'
    install_requires = []
    for values in PYTHON_DEPENDENCIES:
        module_name = values[0]
        module_version = values[2]
        if (module_name == 'yaml'):
            module_name = 'PyYAML'
        elif (module_name == 'sqlite3'):
            module_name = 'pysqlite'
            module_version = None
        if (not module_version):
            install_requires.append(module_name)
        else:
            install_requires.append('{0:s} >= {1:s}'.format(module_name, module_version))
    install_requires.append('pytsk3 >= 4.1.2')
    for (module_name, module_version) in sorted(LIBYAL_DEPENDENCIES.items()):
        if (not module_version):
            install_requires.append(module_name)
        else:
            install_requires.append('{0:s} >= {1:d}'.format(module_name, module_version))
    return sorted(install_requires)

dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/dependencies.py GetInstallRequires/original