def _find_requirements(file: str) -> list:
    """Import requirements from an external file in compatible format with setuptools."""
    with open(file, 'rt') as requirements_file:
        requirements = [requirement.strip() for requirement in requirements_file.readlines()]
    return requirements