Skip to content

Commit cfa6234

Browse files
committed
Make data and batch core dependencies
1 parent 77cc917 commit cfa6234

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ To install our latest pre-release (3.0.0 alpha), run:
3939
``` bash
4040
pip install -U --pre mesa
4141
```
42+
With Mesa 3.0, we don't install all our dependencies anymore by default.
43+
```bash
44+
# You can customize the additional dependencies you need, if you want. Available are:
45+
pip install -U --pre mesa[network,viz]
46+
47+
# This is equivalent to our recommended dependencies:
48+
pip install -U --pre mesa[rec]
49+
50+
# To install all, including developer, dependencies:
51+
pip install -U --pre mesa[all]
52+
```
4253

4354
You can also use `pip` to install the latest GitHub version:
4455

pyproject.toml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ classifiers = [
3737
readme = "README.md"
3838
dependencies = [
3939
"numpy",
40+
"pandas",
41+
"tqdm",
4042
]
4143
dynamic = ["version"]
4244

4345
[project.optional-dependencies]
4446
# User collections
45-
rec = ["mesa[network,viz,data,batch]"]
46-
all = ["mesa[network,viz,data,batch,dev,examples,docs]"]
47+
rec = ["mesa[network,viz]"]
48+
all = ["mesa[network,viz,dev,examples,docs]"]
4749
# Core dependencies
4850
network = [
4951
"networkx",
@@ -52,12 +54,6 @@ viz = [
5254
"matplotlib",
5355
"solara",
5456
]
55-
data = [
56-
"pandas",
57-
]
58-
batch = [
59-
"tqdm",
60-
]
6157
# Dev and CI stuff
6258
dev = [
6359
"mesa[rec]",
@@ -73,7 +69,6 @@ examples = [
7369
"scipy",
7470
]
7571
docs = [
76-
"tqdm",
7772
"sphinx",
7873
"ipython",
7974
"pydata_sphinx_theme",

0 commit comments

Comments
 (0)