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 1, 2024
1 parent 002d3f4 commit 0adcb97
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 @@ -35,28 +35,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 0adcb97

Please sign in to comment.