Skip to content

Commit

Permalink
update developer guide & pdm.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaenzig committed Oct 7, 2024
1 parent 403cb99 commit 1c17cb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can set up a local Python environment for development as follows:
2. Install system dependencies
- For MacOS: `brew install Cmake`
- For Linux (Debian): `sudo apt-get install build-essential cmake`
3. Run `pdm install -G all, dev` to install the Python dependencies. This will create a virtual environment in `eva/.venv`.
3. Run `PDM_PYTHON=$(pyenv which python) && pdm install -G all -G dev` to install the Python dependencies. This will create a virtual environment in `eva/.venv`. If you don't use `pyenv` to manage your python installations, you can replace `$(pyenv which python)` with the path to your python executable.

## Adding new dependencies

Expand Down
7 changes: 7 additions & 0 deletions pdm.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
[install]
cache_method = "symlink_individual"

[python]
use_venv = true
use_pyenv = false

[venv]
with_pip = true

0 comments on commit 1c17cb7

Please sign in to comment.