diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-11 12:58:24 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-11 12:58:24 -0500 |
commit | 4c3c5a27eb591fa3fcb4267f27390133b0dd5ba0 (patch) | |
tree | 5d33f1010c49f6939b5817b374665f7d62a977cf /tests/setup.sh | |
parent | fab09092031b440c752d54f2e4fea467ed5bff2d (diff) | |
download | stasis-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