Skip to content

Commit

Permalink
remove cookiecutter (#2421)
Browse files Browse the repository at this point in the history
* remove cookiecutter

* Delete main.py

* Delete test_scaffold.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
quaquel and pre-commit-ci[bot] authored Oct 25, 2024
1 parent 3225dbb commit 1d98560
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 214 deletions.
2 changes: 0 additions & 2 deletions docs/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ an `images` directory.
The [Schelling](https://github.com/projectmesa/mesa-examples/tree/main/examples/schelling) model is
a good example of a small well-packaged model.

It's easy to create a cookiecutter mesa model by running `mesa startproject`

## Randomization

If your model involves some random choice, you can use the built-in `random`
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ and [solara](https://solara.dev/)

- **mesa[network]** installs mesa and [networkx](https://networkx.org/)
- **mesa[viz]** installs, mesa, [matplotlib](https://matplotlib.org/stable/install/index.html) and [solara](https://solara.dev/)
- **mesa[dev]** installs mesa[rec], [ruff](https://docs.astral.sh/ruff/), [pytest](https://docs.pytest.org/en/stable/), [pytest-cov](https://pytest-cov.readthedocs.io/en/latest/), [sphinx](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-e), [pytest-mock](https://pytest-mock.readthedocs.io/en/latest/), [cookiecutter](https://cookiecutter.readthedocs.io/en/stable/)
- **mesa[dev]** installs mesa[rec], [ruff](https://docs.astral.sh/ruff/), [pytest](https://docs.pytest.org/en/stable/), [pytest-cov](https://pytest-cov.readthedocs.io/en/latest/), [sphinx](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-e), [pytest-mock](https://pytest-mock.readthedocs.io/en/latest/)
- **mesa[examples]** installs mesa[rec], [pytest](https://docs.pytest.org/en/stable/), and [scipy](https://scipy.org/)
- **mesa[docs]** installs mesa[rec], [sphinx](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-e), [ipython](https://ipython.readthedocs.io/en/stable/install/kernel_install.html), [pydata_sphinx_theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/),
[seaborn](https://seaborn.pydata.org/), [myst-nb](https://myst-nb.readthedocs.io/en/latest/), [myst-parser](https://myst-parser.readthedocs.io/en/latest/)
Expand Down
8 changes: 0 additions & 8 deletions mesa/cookiecutter-mesa/cookiecutter.json

This file was deleted.

13 changes: 0 additions & 13 deletions mesa/cookiecutter-mesa/hooks/post_gen_project.py

This file was deleted.

4 changes: 0 additions & 4 deletions mesa/cookiecutter-mesa/{{cookiecutter.snake}}/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions mesa/cookiecutter-mesa/{{cookiecutter.snake}}/app.pytemplate

This file was deleted.

11 changes: 0 additions & 11 deletions mesa/cookiecutter-mesa/{{cookiecutter.snake}}/setup.pytemplate

This file was deleted.

This file was deleted.

This file was deleted.

65 changes: 0 additions & 65 deletions mesa/main.py

This file was deleted.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ dev = [
"pytest-cov",
"sphinx",
"pytest-mock",
"cookiecutter",
]
examples = [
"mesa[rec]",
Expand Down
21 changes: 0 additions & 21 deletions tests/test_scaffold.py

This file was deleted.

0 comments on commit 1d98560

Please sign in to comment.