# This file must be used with "source bin/activate" *from bash* # you cannot run it directly deactivate () { # reset old environment variables if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then PATH="${_OLD_VIRTUAL_PATH:-}" export PATH unset _OLD_VIRTUAL_PATH fi if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" export PYTHONHOME unset _OLD_VIRTUAL_PYTHONHOME fi # Call hash to forget past commands. Without forgetting # past commands the $PATH changes we made may not be respected hash -r 2> /dev/null if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then PS1="${_OLD_VIRTUAL_PS1:-}" export PS1 unset _OLD_VIRTUAL_PS1 fi unset VIRTUAL_ENV unset VIRTUAL_ENV_PROMPT if [ ! "${1:-}" = "nondestructive" ] ; then # Self destruct! unset -f deactivate fi } # unset irrelevant variables deactivate nondestructive VIRTUAL_ENV="/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv" export VIRTUAL_ENV _OLD_VIRTUAL_PATH="$PATH" PATH="$VIRTUAL_ENV/bin:$PATH" export PATH # unset PYTHONHOME if set # this will fail if PYTHONHOME is set to the empty string (which is bad anyway) # could use `if (set -u; : $PYTHONHOME) ;` in bash if [ -n "${PYTHONHOME:-}" ] ; then _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" unset PYTHONHOME fi if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then _OLD_VIRTUAL_PS1="${PS1:-}" PS1="(venv) ${PS1:-}" export PS1 VIRTUAL_ENV_PROMPT="(venv) " export VIRTUAL_ENV_PROMPT fi # Call hash to forget past commands. Without forgetting # past commands the $PATH changes we made may not be respected hash -r 2> /dev/null
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
Activate.ps1 | File | 8.82 KB | 0644 |
|
activate | File | 1.69 KB | 0644 |
|
activate.csh | File | 956 B | 0644 |
|
activate.fish | File | 2.18 KB | 0644 |
|
distro | File | 264 B | 0755 |
|
docutils | File | 275 B | 0755 |
|
imunify360-command-wrapper | File | 8.35 KB | 0755 |
|
jsonschema | File | 272 B | 0755 |
|
normalizer | File | 303 B | 0755 |
|
pip | File | 280 B | 0755 |
|
pip3 | File | 280 B | 0755 |
|
pip3.11 | File | 280 B | 0755 |
|
pw-migrate | File | 274 B | 0755 |
|
pw_migrate | File | 274 B | 0755 |
|
pwiz.py | File | 8.06 KB | 0755 |
|
pybabel | File | 281 B | 0755 |
|
python | File | 6.98 KB | 0755 |
|
python3 | File | 6.98 KB | 0755 |
|
python3.11 | File | 6.98 KB | 0755 |
|
rst2html.py | File | 661 B | 0755 |
|
rst2html4.py | File | 783 B | 0755 |
|
rst2html5.py | File | 1.09 KB | 0755 |
|
rst2latex.py | File | 860 B | 0755 |
|
rst2man.py | File | 683 B | 0755 |
|
rst2odt.py | File | 849 B | 0755 |
|
rst2odt_prepstyles.py | File | 655 B | 0755 |
|
rst2pseudoxml.py | File | 668 B | 0755 |
|
rst2s5.py | File | 704 B | 0755 |
|
rst2xetex.py | File | 940 B | 0755 |
|
rst2xml.py | File | 669 B | 0755 |
|
rstpep2html.py | File | 737 B | 0755 |
|