mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-06-18 21:31:12 +00:00
Add section to README explaining if packages are installed by setup-uv
This commit is contained in:
parent
ced7c1dde4
commit
1a4807090c
1 changed files with 7 additions and 2 deletions
|
@ -101,8 +101,8 @@ This will override any python version specifications in `pyproject.toml` and `.p
|
||||||
- name: Install the latest version of uv and set the python version to 3.13t
|
- name: Install the latest version of uv and set the python version to 3.13t
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.13t
|
python-version: 3.13
|
||||||
- run: uv pip install --python=3.13t pip
|
- run: uv pip install --python=3.13 pip
|
||||||
```
|
```
|
||||||
|
|
||||||
You can combine this with a matrix to test multiple python versions:
|
You can combine this with a matrix to test multiple python versions:
|
||||||
|
@ -488,6 +488,11 @@ Some workflows need uv but do not need to access the repository content.
|
||||||
But **if** you need to access the repository content, you have run `actions/checkout` before running `setup-uv`.
|
But **if** you need to access the repository content, you have run `actions/checkout` before running `setup-uv`.
|
||||||
Running `actions/checkout` after `setup-uv` **is not supported**.
|
Running `actions/checkout` after `setup-uv` **is not supported**.
|
||||||
|
|
||||||
|
### Does `setup-uv` also install my project or its dependencies automatically?
|
||||||
|
|
||||||
|
No, `setup-uv` alone wont install any libraries from your `pyproject.toml` or `requirements.txt`, it only sets up `uv`.
|
||||||
|
You should run `uv sync`, `uv pip install .`, or use `uv run ...` to have your project and its dependencies installed.
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
`setup-uv` was initially written and published by [Kevin Stillhammer](https://github.com/eifinger)
|
`setup-uv` was initially written and published by [Kevin Stillhammer](https://github.com/eifinger)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue