Skip to content

Commit 05a578c

Browse files
committed
move all reqs to pyproject
1 parent 3804a15 commit 05a578c

File tree

5 files changed

+8
-20
lines changed

5 files changed

+8
-20
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ build:
1414
# Optionally declare the Python requirements required to build your docs
1515
python:
1616
install:
17-
- requirements: requirements.txt
18-
- requirements: requirements_dev.txt
19-
- requirements: requirements_docs.txt
17+
- method: pip
18+
path: .
19+
extra_requirements:
20+
- docs

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ dependencies=['yt>=4.2.0', 'h5py>=3.4.0', 'pooch>=1.5.1', 'xarray']
2727
"Homepage" = "https://github.com/data-exp-lab/yt_xarray"
2828
"Bug Tracker" = "https://github.com/data-exp-lab/yt_xarray/issues"
2929

30+
[project.optional-dependencies]
31+
full = ["netCDF4", "scipy", "dask[complete]"]
32+
test = ["pytest", "pytest-cov"]
33+
docs = ["Sphinx==1.8.5", "jinja2<3.1.0", "nbsphinx"]
3034

3135
[tool.black]
3236
line-length = 88

requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements_dev.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

requirements_docs.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
Sphinx==1.8.5
2-
jinja2<3.1.0
3-
nbsphinx

0 commit comments

Comments
 (0)