docs: Mention uv tool as an alterative to pipx (#1924)

Co-authored-by: Francesco Calcavecchia <f18771@eon.com>
This commit is contained in:
Francesco Calcavecchia 2025-01-14 15:07:04 +01:00 committed by GitHub
parent 92050d1309
commit ec11ae28f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

View File

@ -127,6 +127,12 @@ Ready to contribute? Here's how to set up the project for local development.
pipx run pyclean . --debris --verbose pipx run pyclean . --debris --verbose
``` ```
or
```shell
uvx pyclean . --debris --verbose
```
1. Commit your changes and push your branch to GitHub: 1. Commit your changes and push your branch to GitHub:
```shell ```shell

View File

@ -25,7 +25,8 @@ A library and CLI app for rendering project templates.
1. Install Python 3.9 or newer. 1. Install Python 3.9 or newer.
1. Install Git 2.27 or newer. 1. Install Git 2.27 or newer.
1. To use as a CLI app: `pipx install copier` 1. To use as a CLI app: [`pipx install copier`](https://github.com/pypa/pipx) or
[`uv tool install copier`](https://docs.astral.sh/uv/#tool-management)
1. To use as a library: `pip install copier` or `conda install -c conda-forge copier` 1. To use as a library: `pip install copier` or `conda install -c conda-forge copier`
### Nix flake ### Nix flake

View File

@ -1013,6 +1013,8 @@ on them, so they are always installed when Copier is installed.
# if Copier was installed with pipx # if Copier was installed with pipx
pipx inject copier jinja2-time pipx inject copier jinja2-time
# if Copier was installed with uv
uv tool install --with jinja2-time copier
``` ```
!!! example !!! example