def read_requirements(requirements_path):
    """
    read requirements from a requirements.txt file
    """

    with open(requirements_path) as f:
        return [
            line.strip() for line in f.read().strip().splitlines()
            if line.strip()
        ]