Skip to content

Commit 0adcb97

Browse files
authored
Reduce core dependencies, split in optional dependencies
1 parent 002d3f4 commit 0adcb97

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
@@ -35,28 +35,37 @@ classifiers = [
3535
]
3636
readme = "README.md"
3737
dependencies = [
38-
"click",
39-
"cookiecutter",
40-
"matplotlib",
41-
"networkx",
4238
"numpy",
43-
"pandas",
44-
"solara",
45-
"tqdm",
4639
]
4740
dynamic = ["version"]
4841

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

0 commit comments

Comments
 (0)