Skip to content

Commit 7940c76

Browse files
committed
Use uv in slides
1 parent be40417 commit 7940c76

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ GIT_USERNAME=InseeFrLab
44

55
git clone https://github.com/$GIT_USERNAME/$GIT_REPO.git
66
cd $GIT_REPO
7-
pip install -r requirements.txt
8-
python -m nltk.downloader stopwords
7+
uv sync
8+
uv run python -m nltk.downloader stopwords

slides/en/applications/_application0.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@
3636
git clone https://github.com/$GIT_USERNAME/$GIT_REPO.git
3737
cd $GIT_REPO
3838
```
39-
7. Install the necessary packages for the training:
39+
7. Install the necessary packages for the training (with [`uv`](https://docs.astral.sh/uv/getting-started/installation/#installation-methods)):
4040

4141
```sh
42-
pip install -r requirements.txt
43-
python -m nltk.downloader stopwords
42+
uv sync
43+
uv run python -m nltk.downloader stopwords
44+
```
4445
```
4546
4647
8. You're all set !

slides/fr/applications/_application0.qmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@
3535
git clone https://github.com/$GIT_USERNAME/$GIT_REPO.git
3636
cd $GIT_REPO
3737
```
38-
7. Installez les packages nécessaires pour la formation :
38+
7. Installez les packages nécessaires pour la formation (avec [`uv`](https://docs.astral.sh/uv/getting-started/installation/#installation-methods)):
3939

4040
```sh
41-
pip install -r requirements.txt
42-
python -m nltk.downloader stopwords
41+
uv sync
42+
uv run python -m nltk.downloader stopwords
4343
```
4444

45+
46+
4547
8. Vous êtes prêt !
4648
:::::
4749
::::

0 commit comments

Comments
 (0)