Skip to content

Commit 8237dad

Browse files
authored
Update README.md
1 parent 001cd86 commit 8237dad

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,19 @@ You can now use the Jupyter in the Docker container to run the python-tutorial.
132132

133133
If you prefer not to use Conda and/or Docker, you can set up a *lightweight* development environment using either "uv" (a faster alternative to pip) or traditional "pip". Both methods will install the development dependencies specified in the `pyproject.toml` file.
134134

135+
Both setups assume that you have already cloned the repository with `git clone https://github.com/empa-scientific-it/python-tutorial`. The commands below should be run from inside the tutorial directory.
136+
135137
### Using `uv` (Recommended for speed)
136138

137139
[uv](https://github.com/astral-sh/uv) is a fast, Python package installer and resolver written in Rust.
138140

139-
1. Install uv via `pip` or any other method:
141+
1. Install uv via `pip` or [any other method](https://docs.astral.sh/uv/getting-started/installation/):
140142
```console
141143
pip install uv
142144
```
143145

144146
2. Create a virtual environment and install dev dependencies:
145147
```console
146-
# Clone the repository if you haven't already
147-
git clone https://github.com/empa-scientific-it/python-tutorial
148-
cd python-tutorial
149-
150148
# Create and activate a virtual environment
151149
uv venv
152150
# On Windows
@@ -167,10 +165,6 @@ If you prefer not to use Conda and/or Docker, you can set up a *lightweight* dev
167165

168166
1. Create a virtual environment and install dev dependencies:
169167
```console
170-
# Clone the repository if you haven't already
171-
git clone https://github.com/empa-scientific-it/python-tutorial
172-
cd python-tutorial
173-
174168
# Create and activate a virtual environment
175169
python -m venv .venv
176170
# On Windows

0 commit comments

Comments
 (0)