diff --git a/examples/boid_flockers/boid_flockers/model.py b/examples/boid_flockers/boid_flockers/model.py index 00a08d76..d694265b 100644 --- a/examples/boid_flockers/boid_flockers/model.py +++ b/examples/boid_flockers/boid_flockers/model.py @@ -67,7 +67,7 @@ def make_agents(self): velocity, self.vision, self.separation, - **self.factors + **self.factors, ) self.space.place_agent(boid, pos) self.schedule.add(boid) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..0462804c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[project] +name = "mesa-models" +version = "0.1.0" +description = "Importable Mesa models." +authors = [ + {name = "Project Mesa Team", email = "projectmesa@googlegroups.com"} +] +license = {file = "LICENSE"} +readme = "README.rst" +requires-python = ">=3.8" +dependencies = [ + "mesa>=1.2" +] + + +[build-system] +requires = [ + "setuptools", + "wheel", +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..8ac51203 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[options] +package_dir = + mesa_models.boltzmann_wealth_model = examples/boltzmann_wealth_model/boltzmann_wealth_model