aboutsummaryrefslogtreecommitdiff
path: root/tests/setup.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-11-11 12:58:24 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-11-11 12:58:24 -0500
commit4c3c5a27eb591fa3fcb4267f27390133b0dd5ba0 (patch)
tree5d33f1010c49f6939b5817b374665f7d62a977cf /tests/setup.sh
parentfab09092031b440c752d54f2e4fea467ed5bff2d (diff)
downloadstasis-4c3c5a27eb591fa3fcb4267f27390133b0dd5ba0.tar.gz
Revert activation procedure, with tweaks
* Convert CONDA_SHLVL to an integer. If this variable is non-zero then deactivate the current environment before activating a new one. * Conda's initialization scripts don't handle shebang lines longer than 127 bytes on Linux. I'm aware they handle it in conda itself, but the "bug" is such that you cannot use conda to reap the benefits of their workaround(s). * This redefines the __conda_exe shell function so that conda is always executed by the base environment's Python interpreter via CONDA_PYTHON_EXE.
Diffstat (limited to 'tests/setup.sh')
0 files changed, 0 insertions, 0 deletions