import json
import os
from setuptools import setup, find_namespace_packages


def get_other_requirements():
    other_requirements = {}
    for file in os.listdir("./other_requirements"):
        with open(f"./other_requirements/{file}", encoding="utf-8") as rq:
            requirements = json.load(rq)
            other_requirements.update(requirements)
            return other_requirements


setup(
    version="0.2.1",
    packages=find_namespace_packages(include=["hydra_plugins.*"]),
)
