Skip to content

Commit

Permalink
BREAK: convert package dependencies to notebook dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 28, 2024
1 parent eb90286 commit c5c45f0
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 27 deletions.
1 change: 1 addition & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--group jupyter \
--group notebooks \
--no-dev \
> requirements.txt
uv pip install \
Expand Down
25 changes: 14 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ build-backend = "setuptools.build_meta"
requires = ["setuptools"]

[project]
dependencies = [
"ampform",
"ipympl",
"ipywidgets",
"ipywidgets",
"matplotlib",
"pandas",
"sympy",
"uproot",
]
description = "Investigation of symbolic amplitude models for the GlueX experiment"
license = {text = "BSD 3-Clause License"}
name = "gluex-amplitude"
Expand All @@ -29,7 +19,10 @@ dev = [
{include-group = "doc"},
{include-group = "jupyter"},
]
doc = ["jupyter-book"]
doc = [
"jupyter-book",
{include-group = "notebooks"},
]
jupyter = [
"jupyterlab",
"jupyterlab-code-formatter",
Expand All @@ -38,6 +31,16 @@ jupyter = [
"jupyterlab-myst",
"python-lsp-ruff",
"python-lsp-server[rope]",
{include-group = "notebooks"},
]
notebooks = [
"ampform",
"ipympl",
"ipywidgets",
"matplotlib",
"pandas",
"sympy",
"uproot",
]

[tool.ruff]
Expand Down
76 changes: 60 additions & 16 deletions uv.lock

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

0 comments on commit c5c45f0

Please sign in to comment.