Skip to content

Commit

Permalink
Prefer Python from activated conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed May 1, 2024
1 parent 385b39d commit 9968582
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configs/python.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ python.root-paths = [
'!--system|OS:WINDOWS|ARCH:X64|${app-dir}\python\win64\*', # bundled (Windows x86-64)
'!--system|OS:WINDOWS|ARCH:X86|${app-dir}\python\win32\*', # bundled (Windows x86-32)
'OS:WINDOWS|${LOCALAPPDATA}\Programs\Python\*', # system
'${CONDA_PREFIX}/envs/*', # Conda
'${CONDA_PREFIX}', # activated Conda env
'${CONDA_PREFIX}/envs/*', # all Conda envs
]

# ==============================================================================
Expand Down

0 comments on commit 9968582

Please sign in to comment.