Skip to content

Commit

Permalink
DX: define notebooks optional depdendency group
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 16, 2024
1 parent 70d5433 commit d41fb4a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 71 deletions.
24 changes: 13 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,12 @@ dev = [
"ampform[sty]",
"ampform[test]",
"sphinx-autobuild",
"tox >=1.9", # for skip_install, use_develop
"tox",
]
doc = [
"Sphinx >=3",
"ampform[all]",
"black",
"ipympl",
"matplotlib <3.9.0", # https://github.com/ComPWA/ampform/issues/279
"matplotlib",
"mpl-interactions",
"myst-nb >=0.14", # nb_ configuration prefixes
"numpy",
"rich",
"ampform[notebooks]",
"myst-nb",
"sphinx",
"sphinx-api-relink >=0.0.4",
"sphinx-book-theme",
"sphinx-codeautolink[ipython]",
Expand All @@ -91,6 +84,15 @@ jupyter = [
"python-lsp-ruff",
"python-lsp-server[rope]",
]
notebooks = [
"ampform[all]",
"ipympl",
"matplotlib <3.9.0", # https://github.com/ComPWA/ampform/issues/279
"matplotlib",
"mpl-interactions",
"numpy",
"rich",
]
scipy = ["scipy"]
sty = [
"ampform[types]",
Expand Down
80 changes: 20 additions & 60 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d41fb4a

Please sign in to comment.