Skip to content

Commit

Permalink
Reduce core dependencies, split in optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Sep 20, 2024
1 parent 9240813 commit 5d16884
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,37 @@ classifiers = [
]
readme = "README.md"
dependencies = [
"click",
"cookiecutter",
"matplotlib",
"networkx",
"numpy",
"pandas",
"solara",
"tqdm",
]
dynamic = ["version"]

[project.optional-dependencies]
rec = ["mesa[network,viz,data,batch]"]
all = ["mesa[network,viz,data,batch,dev,examples,docs]"]

network = [
"networkx",
]
viz = [
"matplotlib",
"solara",
]
data = [
"pandas",
]
batch = [
"tqdm",
]
dev = [
"ruff~=0.1.1", # Update periodically
"pytest >= 4.6",
"ruff"
"pytest"
"pytest-cov",
"sphinx",
"pytest-mock",
]
examples = [
"pytest >= 4.6",
"scipy"
"pytest",
"scipy",
]
docs = [
"sphinx",
Expand Down

0 comments on commit 5d16884

Please sign in to comment.