def extract_requirements(filename):
    """
    Extract requirements from a requirements file.
    """
    with open(filename, 'r') as requirements_file:
        return [x[:-1] for x in requirements_file.readlines()]