Skip to content

Commit 8652f9f

Browse files
committed
move dependencies
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 781dd55 commit 8652f9f

File tree

2 files changed

+31
-26
lines changed

2 files changed

+31
-26
lines changed

pyproject.toml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,20 @@ dependencies = [
3333
]
3434
dynamic = ["version"]
3535

36-
[dependency-groups]
36+
[project.optional-dependencies]
37+
# Published optional dependencies, or "extras".
38+
39+
visualizer = [
40+
# Visualization (make sure these are also updated in the 'dev' group)
41+
"dash>=3.0.0",
42+
"dash-bootstrap-components>=2.0.0",
43+
"dash-cytoscape>=1.0.2",
44+
]
3745
pandas = ["pandas>=2.2.1"]
46+
47+
[dependency-groups]
48+
# Local dependencies for development.
49+
3850
dev = [
3951
"pylint",
4052
"pytest",
@@ -43,13 +55,6 @@ dev = [
4355
"mypy",
4456
"pre-commit",
4557
# Visualization (make sure these stay equalivalent to the 'visualizer' group)
46-
"dash",
47-
"dash-bootstrap-components",
48-
"dash-cytoscape",
49-
]
50-
51-
visualizer = [
52-
# Visualization (make sure these are also updated in the 'dev' group)
5358
"dash>=3.0.0",
5459
"dash-bootstrap-components>=2.0.0",
5560
"dash-cytoscape>=1.0.2",
@@ -64,7 +69,6 @@ doc = [
6469
"numpydoc",
6570
]
6671

67-
6872
[project.urls]
6973
Home-page = "https://lfenergy.org/projects/power-grid-model/"
7074
GitHub = "https://github.com/PowerGridModel/power-grid-model-ds"

uv.lock

Lines changed: 18 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)