diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 4b40359..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -sphinx -myst-nb diff --git a/readthedocs.yaml b/readthedocs.yaml index ab6c623..9be0f12 100644 --- a/readthedocs.yaml +++ b/readthedocs.yaml @@ -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 diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index b8ccae8..0000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -ipykernel -numpy -scipy -matplotlib -numba diff --git a/setup.cfg b/setup.cfg index 845e7b4..2f77571 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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