Skip to content

Commit bb948f0

Browse files
committed
install: upgrade pip/setuptools/wheel first
1 parent 9f4ee1b commit bb948f0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,13 @@ in `Makefile`).
101101
# Create and activate a virtual environment
102102
python -m venv venv
103103
source venv/bin/activate
104+
# update the version of pip, setuptools, and wheel
105+
(venv) pip -U pip setuptools wheel
104106
# Install the dependencies in your virtual environment
105-
(venv) python -mpip install .[all]
107+
(venv) pip install .[all]
106108
# Create the HTML to visualize locally
107109
(venv) make html
108-
(venv) firefox _build/index.html
110+
(venv) open _build/index.html
109111
# Or you can start a serve that watches for local file changes
110112
(venv) make watch
111113
# Open <http://localhost:8000/> in your browser

src/introduction/prerequisites.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ environment:
5454
5555
$ python -m venv venv
5656
$ source venv/bin/activate
57+
$ (venv) pip install -U pip setuptools wheel
5758
$ (venv) pip install cwltool
5859
```
5960

6061
```{note}
61-
You can find the `cwl-runner` source code [here](https://github.com/common-workflow-language/cwltool/tree/main/cwlref-runner).
62+
You can find the `cwl-runner` source code [here](https://github.com/common-workflow-language/cwltool/tree/main/cwlref-runner).
6263
Visit the `cwltool` [documentation](https://github.com/common-workflow-language/cwltool#install)
6364
for other ways to install `cwltool` with `apt` and `conda`.
6465
```

0 commit comments

Comments
 (0)