mirror of
https://github.com/copier-org/copier.git
synced 2025-05-05 15:32:54 +00:00
docs: Mention uv tool
as an alterative to pipx
(#1924)
Co-authored-by: Francesco Calcavecchia <f18771@eon.com>
This commit is contained in:
parent
92050d1309
commit
ec11ae28f0
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user