CMake: pro2cmake: Add alternative package installation instructions

I kept getting

Ignoring pytest: markers 'python_version >= "3.7"' don't match your environment

when using the pip command, but this alternative worked.

Change-Id: Ibfc7f36de04153d2247f8f62bd129b0c0c723bf2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Mitch Curtis 2020-03-17 15:39:01 +01:00 committed by Alexandru Croitor
parent 0eb93886ae
commit 8185da097a

View File

@ -28,6 +28,12 @@ to avoid conflict with other packages that are already installed: `pip install v
(on Windows: `source env\Scripts\activate.bat`)
* Install the requirements: `pip install -r requirements.txt`
If the `pip install` command above doesn't work, try:
```
python3.7 -m pip install -r requirements.txt
```
# Contributing to the scripts
You can verify if the styling of a script complaint with PEP8, with a couple of exceptions: