mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
CONTRIBUTING: Ensure pip
gets upgraded; install wheel
Homogenize how to activate venv (use `source` instead of `.`)
This commit is contained in:
parent
484b0f0433
commit
39ba05a530
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
@ -59,6 +59,7 @@ system with CMake 3.14+:
|
||||
```bash
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -U pip wheel
|
||||
pip install -r tests/requirements.txt
|
||||
cmake -S . -B build -DDOWNLOAD_CATCH=ON -DDOWNLOAD_EIGEN=ON
|
||||
cmake --build build -j4
|
||||
@ -233,7 +234,8 @@ recent CMake and Python 3):
|
||||
|
||||
```bash
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
source venv/bin/activate
|
||||
pip install -U pip wheel
|
||||
pip install pytest
|
||||
cmake -S . -B build-intel -DCMAKE_CXX_COMPILER=$(which icpc) -DDOWNLOAD_CATCH=ON -DDOWNLOAD_EIGEN=ON -DPYBIND11_WERROR=ON
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user