Skip to content

Commit

Permalink
Merge branch 'fix-hex-tile-overlapping' of https://github.com/Sahil-C…
Browse files Browse the repository at this point in the history
…hhoker/mesa into fix-hex-tile-overlapping
  • Loading branch information
Sahil-Chhoker committed Jan 20, 2025
2 parents 0a34e2f + 2be551b commit b2f57c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 28 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,16 @@ To install our latest stable release (3.0.x), run:
pip install -U mesa
```

To install our latest pre-release, run:

``` bash
pip install -U --pre mesa
```
Starting with Mesa 3.0, we don't install all our dependencies anymore by default.
```bash
# You can customize the additional dependencies you need, if you want. Available are:
pip install -U --pre mesa[network,viz]
pip install -U mesa[network,viz]

# This is equivalent to our recommended dependencies:
pip install -U --pre mesa[rec]
pip install -U mesa[rec]

# To install all, including developer, dependencies:
pip install -U --pre mesa[all]
pip install -U mesa[all]
```

You can also use `pip` to install the latest GitHub version:
Expand Down
1 change: 0 additions & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ model.step()

You should see agents 1-5, activated in random order. See the [tutorial](tutorials/intro_tutorial) or API documentation for more detail on how to add model functionality.

To bootstrap a new model install mesa and run `mesa startproject`

### AgentSet and model.agents
Mesa 3.0 makes `model.agents` and the AgentSet class central in managing and activating agents.
Expand Down
8 changes: 1 addition & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Mesa allows users to quickly create agent-based models using built-in core compo

## Using Mesa
### Installation Options
To install our latest stable release (3.0.x), run:
To install our latest stable release (3.1.x), run:

```bash
pip install -U mesa
Expand All @@ -47,12 +47,6 @@ On a Mac, this command might cause an error stating `zsh: no matches found: mesa
In that case, change the command to `pip install -U "mesa[rec]"`.


To install our latest pre-release:

```bash
pip install -U --pre mesa[rec]
```

### Resources

For help getting started with Mesa, check out these resources:
Expand Down
10 changes: 1 addition & 9 deletions docs/tutorials/intro_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@
"pip install --upgrade mesa[rec] \n",
"```\n",
"\n",
"If you want to use our newest features, you can also opt to install our latest pre-release version:\n",
"\n",
"```bash\n",
"pip install --upgrade --pre mesa[rec]\n",
"```\n",
"\n",
"Install Jupyter notebook (optional):\n",
"\n",
"```bash\n",
Expand All @@ -117,9 +111,7 @@
{
"cell_type": "raw",
"metadata": {},
"source": [
"pip install --quiet --upgrade --pre mesa[rec] #installs Mesa 3.0"
]
"source": "pip install --quiet --upgrade mesa[rec] #installs Mesa 3.1.3"
},
{
"cell_type": "markdown",
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ docs = [
homepage = "https://github.com/projectmesa/mesa"
repository = "https://github.com/projectmesa/mesa"

[project.scripts]
mesa = "mesa.main:cli"

[tool.hatch.build.targets.wheel]
packages = ["mesa"]

Expand Down

0 comments on commit b2f57c5

Please sign in to comment.