[Project description]
[Remove the 'Repo template' section once you set up all the files]
This is a template I am using for my Python projects. I will be force pushing to master, so that the repo always contains single commit. After creating a repo from this template I amend the commit with the changes described below.
- fill in the project name in
pyproject.tomlfile - fill in the project description in
pyproject.tomlfile - fill in the project authors in
pyproject.tomlfile - fill in the project URLs in
pyproject.tomlfile
- update required Python version in
pyproject.tomlfile - update required Python version in
README-dev.mdfile - update tested/release Python versions in
.github\workflows\pr-checker.ymland.github\workflows\release.ymlfiles - update
target-versionoption inruff.toml
- rename
src/my_projectfolder - rename
tests/my_projectfolder - change package name in
pyproject.toml(tool.hatch.build.targets.wheel.packages) - change script name and path in
pyproject.toml(project.scripts) - change imports in files from
testsandsrcfolder
- change default name of project in
README.mdfile - fill in the description in
README.mdfile - remove the checklist when all the points are checked in
README.md
- update the environment URL to point to proper pypi project
- create a
pypienvironment in you GitHub repo - add a trusted publisher in PyPI for your GitHub repository