diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c206377..fcdcb60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,8 +23,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install flake8 + pip install '.[test]' - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 149c48f..0000000 --- a/requirements.txt +++ /dev/null @@ -1,13 +0,0 @@ -pycryptodomex==3.20.0 -coincurve==19.0.1 -requests==2.32.0 - -pytest==8.1.1 -pytest-asyncio==0.23.7 -pytest-cov==5.0.0 -ecdsa==0.19.0 - -build==1.2.1 -twine==5.0.00 -aiohttp==3.10.2 - diff --git a/setup.cfg b/setup.cfg index 25e7593..d9acb69 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,12 +24,16 @@ keywords = python_requires = >=3.9 include_package_data = True install_requires = - pycryptodomex - coincurve - requests -tests_require = - pytest - ecdsa + pycryptodomex>=3.20.0 + coincurve>=20.0.0 + requests>=2.32.3 + aiohttp>=3.10.5 + +[options.extras_require] +test = + pytest>=8.3.3 + pytest-asyncio>=0.24.0 + ecdsa>=0.19.0 [options.package_data] * = hd/wordlist/*.txt