uv/crates/uv-virtualenv/src
Pavel Dikov d05f2b258b
fix(venv): make relocatable activation scripts support ksh (#5640)
It transpires that detecting the directory a script was sourced from is
non-trivial across `bash`, `ksh` and `zsh`.

The previous version was a one-liner and supported `bash` and `zsh` but
not `ksh`.

It is possible to keep the one-liner and add `ksh` support, but that is
mutually-exclusive with `zsh`.

Therefore, the only way to square this circle is to add an `if` block. A
silver lining here is that although longer, the script is probably
easier to follow as there is less code-golfing going on.
2024-07-31 12:18:11 -04:00
..
activator fix(venv): make relocatable activation scripts support ksh (#5640) 2024-07-31 12:18:11 -04:00
_virtualenv.py Rename gourgeist to uv-virtualenv (#2118) 2024-03-01 14:02:40 -05:00
lib.rs feat(venv): add relocatable flag (#5515) 2024-07-29 00:10:11 +00:00
virtualenv.rs fix(venv): make relocatable activation scripts support ksh (#5640) 2024-07-31 12:18:11 -04:00