def get_requirements(path):
    """Get mandatory dependencies from file."""
    install_requires = list()
    with open(path, "r") as file:
        for line in file:
            if line.startswith("#"):
                continue
            req = line.strip()
            if len(line) == 0:
                continue
            install_requires.append(req)

    return install_requires