Skip to content

Commit 358ad6c

Browse files
authored
run copier with uvx and add --trust argument in quickstart.md (#31)
* add uv install with --trust in quickstart.md * update upload artifact action * to v3...
1 parent 96a1884 commit 358ad6c

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
4242

4343
- name: ⬆️ Upload Pages Artifact
44-
uses: actions/upload-pages-artifact@v1
44+
uses: actions/upload-pages-artifact@v3
4545
with:
4646
path: "site/"
4747

docs/quickstart.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,36 +38,15 @@ This guide will create a _new_ project directory.
3838
`requirements-dev.txt`, `Makefile`, etc. You may also need to manually
3939
update your CI config files to use the new project structure.
4040

41-
## Install Copier
42-
43-
First install [Copier](https://copier.readthedocs.io/en/stable/),
44-
which we will use to run the project template.
45-
46-
<div class="termy">
47-
48-
```console
49-
$ pip install copier
50-
---> 100%
51-
Successfully installed copier
52-
```
53-
54-
</div>
55-
56-
!!!note
57-
This will install Copier in your current Python environment. If you use
58-
conda, make sure to `conda activate` the environment you want to use prior
59-
to installing Copier. (It can be any environment... we're only going to
60-
use copier once to create a new project.)
61-
6241
## Create a project
6342

64-
Next, run the following command to create a new project from the
43+
Next, [install uv](https://docs.astral.sh/uv/getting-started/installation/) then run the following command to create a new project from the
6544
[pydev-guide template](https://github.com/pydev-guide/pyrepo-copier).
6645
Replace `<project-name>` with the desired path to your project, this
6746
will be the name of the directory that will be created.
6847

6948
```bash
70-
copier copy gh:pydev-guide/pyrepo-copier <project-name>
49+
uvx copier copy --trust gh:pydev-guide/pyrepo-copier <project-name>
7150
```
7251

7352
### Select a Mode

0 commit comments

Comments
 (0)