Skip to content

Commit

Permalink
split out docs deps in setup extras (#390) (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfineran committed Nov 22, 2023
1 parent 9b5daea commit db5c6dc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@
"flake8>=3.8.3",
"flaky>=3.7.0",
"isort>=5.7.0",
"pytest>=6.0.0",
"wheel>=0.36.2",
"onnxruntime>=1.0.0",
"matplotlib>=3.0.0",
]

_docs_deps = [
"m2r2~=0.2.7",
"mistune==0.8.4",
"myst-parser~=0.14.0",
Expand All @@ -68,11 +75,7 @@
"sphinx-copybutton>=0.3.0",
"sphinx-markdown-tables>=0.0.15",
"sphinx-multiversion==0.2.4",
"pytest>=6.0.0",
"sphinx-rtd-theme",
"wheel>=0.36.2",
"onnxruntime>=1.0.0",
"matplotlib>=3.0.0",
]


Expand All @@ -87,7 +90,7 @@ def _setup_install_requires() -> List:


def _setup_extras() -> Dict:
return {"dev": _dev_deps, "nb": _notebook_deps}
return {"dev": _dev_deps, "nb": _notebook_deps, "docs": _docs_deps}


def _setup_entry_points() -> Dict:
Expand Down

0 comments on commit db5c6dc

Please sign in to comment.