Skip to content

Commit

Permalink
Documentation: Fix defaults on build_python.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cecille committed Oct 3, 2024
1 parent 58e7da1 commit ee1bdc9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/guides/python_chip_controller_building.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ To build and run the Python CHIP controller:
5. Build and install the Python CHIP controller:
```
scripts/build_python.sh -m platform -i separate
scripts/build_python.sh -m platform -i out/python_env
```
> Note: This builds the Python CHIP Controller along with the CHIP REPL as
Expand Down
2 changes: 1 addition & 1 deletion docs/testing/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ Next build the python wheels and create / activate a venv (called `pyenv` here,
but any name may be used)

```
./scripts/build_python.sh -i pyenv
./scripts/build_python.sh -i out/python_env
source pyenv/bin/activate
```

Expand Down
2 changes: 1 addition & 1 deletion docs/testing/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Next build the python wheels and create a venv (called `py` here, but any name
may be used)

```
./scripts/build_python.sh -i py
./scripts/build_python.sh -i out/python_env
source py/bin/activate
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
# files, then add the extra dependencies. From the root:
#
# . scripts/activate.sh
# ./scripts/build_python.sh -i py
# source py/bin/activate
# ./scripts/build_python.sh -i out/python_env
# source out/python_env/bin/activate
# pip install opencv-python requests click_option_group
# python src/python_testing/post_certification_tests/production_device_checks.py

Expand Down

0 comments on commit ee1bdc9

Please sign in to comment.