##// END OF EJS Templates
Use environment variable to identify conda / mamba (#14515)...
Use environment variable to identify conda / mamba (#14515) Conda and mamba both set an environment variable which refers to the base environment's executable path, use that in preference to less reliable methods, but fall back on the other approaches if unable to locate the executable this way. Additionally, change the search to look for the bare command name rather than the command within the top level of the active environment, I'm dubious this approach works with any current conda / mamba version which usually place their executable links in a `condabin` directory or elsewhere not at the same level as the Python executable. I believe this will also address https://github.com/ipython/ipython/issues/14350, which I'm also seeing in a Windows context where the regex fails to parse and causes a traceback.
M Bussonnier -
r28871:d23bee0c merge
Show More
Name Size Modified Last Commit Author
/ IPython / utils
tests
PyColorize.py Loading ...
__init__.py Loading ...
_process_cli.py Loading ...
_process_common.py Loading ...
_process_emscripten.py Loading ...
_process_posix.py Loading ...
_process_win32.py Loading ...
_process_win32_controller.py Loading ...
_sysinfo.py Loading ...
capture.py Loading ...
colorable.py Loading ...
coloransi.py Loading ...
contexts.py Loading ...
daemonize.py Loading ...
data.py Loading ...
decorators.py Loading ...
dir2.py Loading ...
docs.py Loading ...
encoding.py Loading ...
eventful.py Loading ...
frame.py Loading ...
generics.py Loading ...
importstring.py Loading ...
io.py Loading ...
ipstruct.py Loading ...
jsonutil.py Loading ...
localinterfaces.py Loading ...
log.py Loading ...
module_paths.py Loading ...
openpy.py Loading ...
path.py Loading ...
process.py Loading ...
py3compat.py Loading ...
sentinel.py Loading ...
shimmodule.py Loading ...
signatures.py Loading ...
strdispatch.py Loading ...
sysinfo.py Loading ...
syspathcontext.py Loading ...
tempdir.py Loading ...
terminal.py Loading ...
text.py Loading ...
timing.py Loading ...
tokenutil.py Loading ...
traitlets.py Loading ...
tz.py Loading ...
ulinecache.py Loading ...
version.py Loading ...
wildcard.py Loading ...