Skip to content

Commit

Permalink
mention conda in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Jul 8, 2024
1 parent b218428 commit 20450db
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pet.el
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,12 @@ use it."
Selects a virtualenv in the follow order:
1. The value of the environment variable `VIRTUAL_ENV' if defined.
2. If the current project is using `poetry', return the absolute path to the
virtualenv directory `poetry' created.
3. Ditto for `pipenv'.
4. A directory in `pet-venv-dir-names' in the project root if found.
5. If the current project is using `pyenv', return the path to the virtualenv
2. If the current project is using any `conda' variant, return the absolute path
to the virtualenv directory for the current project.
3. Ditta for `poetry'.
4. Ditto for `pipenv'.
5. A directory in `pet-venv-dir-names' in the project root if found.
6. If the current project is using `pyenv', return the path to the virtualenv
directory by looking up the prefix from `.python-version'."
(let ((root (pet-project-root)))
(or (assoc-default root pet-project-virtualenv-cache)
Expand Down

0 comments on commit 20450db

Please sign in to comment.