Skip to content

Commit 234eec5

Browse files
authored
Added requirements.txt for donate-cpu.py (danmar#6443)
1 parent d8ee51d commit 234eec5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

readme.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ A manual is available [online](https://cppcheck.sourceforge.io/manual.pdf).
1919
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:
2020

2121
1. Download (and extract) Cppcheck source code.
22-
2. Run script: `python cppcheck/tools/donate-cpu.py`.
22+
2. Run:
23+
```
24+
cd cppcheck/
25+
virtualenv .env
26+
.env/bin/pip install -r tools/donate-cpu-requirements.txt
27+
.env/bin/python tools/donate-cpu.py
28+
```
2329
2430
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.
2531

tools/donate-cpu-requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
psutil
2+
packaging

0 commit comments

Comments
 (0)