Skip to content

Commit 4527388

Browse files
authored
Update contributing.md
- Use a more standard way of creating virtual environment - Ensure latest version of rust
1 parent 5700a16 commit 4527388

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/docs/about/contributing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ We tag issues with the ["good first issue"](https://github.com/cocoindex-io/coco
2424
Following the steps below to get cocoindex build on latest codebase locally - if you are making changes to cocoindex funcionality and want to test it out.
2525

2626
- Install Rust toolchain: [docs](https://rust-lang.org/tools/install)
27+
28+
Run `rustup update` to ensure you're on the latest version.
2729

28-
- (Optional) Setup Python virtual environment:
30+
- (Recommended) Setup Python virtual environment:
2931
```bash
30-
virtualenv --python=$(which python3.12) .venv
32+
python3 -m venv .venv
3133
```
3234
Activate the virtual environment, before any installings / buildings / runnings:
3335

3436
```bash
35-
. .venv/bin/activate
37+
source .venv/bin/activate
3638
```
3739

3840
- Install maturin:

0 commit comments

Comments
 (0)