From 200a24ea30bd059b33d8e8559ca0687a793fbc66 Mon Sep 17 00:00:00 2001 From: meherett Date: Sat, 17 Aug 2024 14:37:29 +0300 Subject: [PATCH] Modify: BIP38 requirements location --- requirements/bip38.txt => requirements.txt | 0 setup.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename requirements/bip38.txt => requirements.txt (100%) 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",