Skip to content

Commit

Permalink
docs(DEVELOPER): Mention pyenv [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Sep 19, 2024
1 parent c87a1fe commit aba8ec2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,6 @@ src/cscapi/_version.py
# customm scripts
examples/**/perf*
examples/**/*mongo*

#pyenv
.python-version
9 changes: 6 additions & 3 deletions docs/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,25 @@
### Virtual environment

```bash
pyenv install 3.12.0
pyenv local 3.12.0
python -m venv venv
source venv/bin/activate
```

### Install dependencies

```bash
pip install --upgrade pip
python install -r requirements.txt
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
python -m pip install .
```

### Unit tests

```bash
python -m pytest
python -m pytest -s -k 'not mongodb'
```


Expand Down

0 comments on commit aba8ec2

Please sign in to comment.