A minimal cookiecutter template for Python packages, forked from kragniz.
pip install cookiecutter
cookiecutter https://github.com/ignacioheredia/cookiecutter-minimal-pypackage.git
Post-generation actions:
- run
git init
to make the package installable viapip install -e .
- check
setup.cfg
to apply to proper PyPI classifiers - choose a license for the project
- remove
tox.ini
andtests/
if you want to remove tests - if you don't want automatic releases based on Conventional Commits you can remove using Release Please:
.github/workflows/release-please.yml
.release-please-manifest.json
.release-please-config.json
Otherwise, if you want this feature, create a fine grained personal access token for this repo only with permissions:- content:
write
- pull-requests:
write
Then copy the token in this repo SECRETS with the nameMY_RELEASE_PLEASE_TOKEN
.