Creates a mojo project with poetry to manage python dependencies. It also initializes a git repository.
- Mojo
- Python
- Poetry to manage the python virtual environment & packages
cookiecutter, which can be installed by runningpip install cookiecutter
cookiecutter gh:sa-/mojo-templateWhen prompted, enter the package name with underscores (not dashes!)
In the makefile there are some useful commands
-
make run- Runs{{cookiecutter.package_name}}/main.mojo -
make test- Runstest.mojo -
make build- Creates a.mojopkgfile indist/ -
make clean- Deletes thedist/folder -
make fmt- Formats the project