My opinionated fork of https://github.com/audreyr/cookiecutter-pypackage/
Install the latest cruft if you haven't installed it yet
pip install -U cruft
Generate a Python package project
cruft create https://github.com/s-weigand/cookiecutter-pypackage
If you have an older git version (e.g. git-bash for windows) that doesn't know about main
as default branch name and you get
fatal: invalid branch name: init.defaultBranch =
you can globally set the default branch name to main
, by running
git config --global init.defaultBranch main