Skip to content

Commit 74f1db3

Browse files
authored
Better describe python venv
Updated donation instructions for CPU usage on Linux/MacOS.
1 parent f6dff92 commit 74f1db3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

readme.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ A manual is available [online](https://cppcheck.sourceforge.io/manual.pdf).
2020
Cppcheck is a hobby project with limited resources. You can help us by donating CPU (1 core or as many as you like). It is simple:
2121

2222
1. Download (and extract) Cppcheck source code.
23-
2. Run:
23+
2. Run (Linux/MacOS example):
2424
```
2525
cd cppcheck/
26-
virtualenv .env
27-
.env/bin/pip install -r tools/donate-cpu-requirements.txt
28-
.env/bin/python tools/donate-cpu.py
26+
python3 -m venv ~/.venv_cppcheck
27+
source ~/.venv_cppcheck/bin/activate
28+
29+
pip install -r tools/donate-cpu-requirements.txt
30+
./tools/donate-cpu.py
2931
```
3032
3133
The script will analyse debian source code and upload the results to a cppcheck server. We need these results both to improve Cppcheck and to detect regressions.

0 commit comments

Comments
 (0)