fix: moves packaging requirements to setup.cfg

Also moves documentation and development requirements to
targets [docs] and [dev] respectively.
This commit is contained in:
gnikit 2022-07-18 10:58:55 +01:00
parent 3ede4829a3
commit 142abfd5c7
No known key found for this signature in database
GPG Key ID: E9A03930196133F0
4 changed files with 21 additions and 9 deletions

View File

@ -1,2 +0,0 @@
sphinx
myst-nb

View File

@ -22,7 +22,9 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- .
- docs
- dev

View File

@ -1,5 +0,0 @@
ipykernel
numpy
scipy
matplotlib
numba

View File

@ -17,6 +17,23 @@ package_dir =
= src
packages = find:
python_requires = >=3.6
install_requires =
numpy
scipy
matplotlib
numba
[options.extras_require]
dev =
pytest == 7.1
pytest-cov == 3.0
pre-commit == 2.20
hypothesis == 6.29
jupyter-lab
docs =
ipykernel == 6.9.0
sphinx >= 4.0.0
myst-nb
[options.packages.find]
where = src