- Python 3.10 (but easy to change)
- Uses setup.cfg & pyproject.toml (not setup.py)
- Unlicense
- VS Code development container definitions
- Configures black & isort to run on save in vscode
- Includes a github action which runs tests on PRs against main branch
- Includes (somewhat opinionated) tests template
- Includes a trivial
<package>.__version__
property
-
Add project details to
setup.cfg
-
Update line 3 of
src/package_name/__init__.py
to include your package name -
Rename the
src/package_name
directory tosrc/<your actual package name>
-
Change the LICENSE if you want to. https://choosealicense.com/
-
[Optional] If you want your minimum supported python version to differ from 3.11:
- Update your package definition: Line 22 of
setup.cfg
- Configure black to lint properly: Line 10 of
pyproject.toml
- Uncomment tests workflow to test relevent versions: Line 13 of
.github/workflows/tests.yaml
- Update devcontainer image to use new version: Line 5 of
.devcontainer/Dockerfile
- Update your package definition: Line 22 of
-
Build your dev container & reopen your IDE
-
Install your package in editable mode & start working:
pip install -e .[tests]
-
Don't forget to rewrite this README.md