- Install copier
- Generate a new project or apply this template to an existing project:
or just:
PROJECT_PATH=my-project # relative path including project dir name, will be created automatically if it not exist. copier copy gh:pepe5p/copier-python-project $PROJECT_PATH
copier copy gh:pepe5p/copier-python-project .
Familiarize yourself with the copier templating engine
Note
If file not ends on .jinja, it will be copy-pasted as is.
When you add .jinja - make sure that there will no conflicts between template languages, or just wrap everything not related to copier templating in {%raw%} {%endraw%}
- Install python 3.13 or greater. Consider using pyenv if you work with multiple python versions
- Install uv
- Install project dependencies:
uv sync --dev
- run
uv run pytestin your root directory
- copier cli:
copier copy . test-folder-path