def extract_requirements(file):
    """
    Install requirements from requirements file.

    :param str file: path to requirements file.
    :return: list[str] -- list of requirements.
    :rtype: list
    """
    with open(file, 'r') as file:
        return file.readlines()