Skip to content

Commit ee1bdc9

Browse files
committed
Documentation: Fix defaults on build_python.sh
The default for the build environment shoudl be in the out dir since that's already excluded from git. Makes things easier for people following the documentation for the first time who won't necessarily change that directory to their preferred location.
1 parent 58e7da1 commit ee1bdc9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/guides/python_chip_controller_building.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ To build and run the Python CHIP controller:
7777
5. Build and install the Python CHIP controller:
7878
7979
```
80-
scripts/build_python.sh -m platform -i separate
80+
scripts/build_python.sh -m platform -i out/python_env
8181
```
8282
8383
> Note: This builds the Python CHIP Controller along with the CHIP REPL as

docs/testing/python.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Next build the python wheels and create / activate a venv (called `pyenv` here,
587587
but any name may be used)
588588

589589
```
590-
./scripts/build_python.sh -i pyenv
590+
./scripts/build_python.sh -i out/python_env
591591
source pyenv/bin/activate
592592
```
593593

docs/testing/yaml.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Next build the python wheels and create a venv (called `py` here, but any name
334334
may be used)
335335

336336
```
337-
./scripts/build_python.sh -i py
337+
./scripts/build_python.sh -i out/python_env
338338
source py/bin/activate
339339
```
340340

src/python_testing/post_certification_tests/production_device_checks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
# files, then add the extra dependencies. From the root:
3232
#
3333
# . scripts/activate.sh
34-
# ./scripts/build_python.sh -i py
35-
# source py/bin/activate
34+
# ./scripts/build_python.sh -i out/python_env
35+
# source out/python_env/bin/activate
3636
# pip install opencv-python requests click_option_group
3737
# python src/python_testing/post_certification_tests/production_device_checks.py
3838

0 commit comments

Comments
 (0)