diff --git a/requirements/bip38.txt b/requirements.txt similarity index 100% rename from requirements/bip38.txt rename to requirements.txt diff --git a/setup.py b/setup.py index 3622ee1..f1875fd 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ # requirements/{name}.txt def get_requirements(name: str) -> List[str]: - with open(f"requirements/{name}.txt", "r") as requirements: + with open(f"{name}.txt", "r") as requirements: return list(map(str.strip, requirements.read().split("\n"))) @@ -46,11 +46,11 @@ def get_requirements(name: str) -> List[str]: keywords=info.__keywords__, python_requires=">=3.9,<4", packages=find_packages(exclude=["tests*"]), - install_requires=get_requirements(name="bip38"), + install_requires=get_requirements(name="requirements"), include_package_data=True, extras_require=dict( - docs=get_requirements(name="docs"), - tests=get_requirements(name="tests") + docs=get_requirements(name="requirements/docs"), + tests=get_requirements(name="requirements/tests") ), classifiers=[ "Development Status :: 5 - Production/Stable",