Skip to content

Commit 5d16884

Browse files
committed
Reduce core dependencies, split in optional dependencies
1 parent 9240813 commit 5d16884

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

pyproject.toml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,37 @@ classifiers = [
3636
]
3737
readme = "README.md"
3838
dependencies = [
39-
"click",
40-
"cookiecutter",
41-
"matplotlib",
42-
"networkx",
4339
"numpy",
44-
"pandas",
45-
"solara",
46-
"tqdm",
4740
]
4841
dynamic = ["version"]
4942

5043
[project.optional-dependencies]
44+
rec = ["mesa[network,viz,data,batch]"]
45+
all = ["mesa[network,viz,data,batch,dev,examples,docs]"]
46+
47+
network = [
48+
"networkx",
49+
]
50+
viz = [
51+
"matplotlib",
52+
"solara",
53+
]
54+
data = [
55+
"pandas",
56+
]
57+
batch = [
58+
"tqdm",
59+
]
5160
dev = [
52-
"ruff~=0.1.1", # Update periodically
53-
"pytest >= 4.6",
61+
"ruff"
62+
"pytest"
5463
"pytest-cov",
5564
"sphinx",
5665
"pytest-mock",
5766
]
5867
examples = [
59-
"pytest >= 4.6",
60-
"scipy"
68+
"pytest",
69+
"scipy",
6170
]
6271
docs = [
6372
"sphinx",

0 commit comments

Comments
 (0)