mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-23 12:31:09 -05:00
upgrade to Django 5.1.3 and Python 3.13
This commit is contained in:
@@ -219,6 +219,8 @@ deactivate -nondestructive
|
||||
# that there is an activated venv.
|
||||
$env:VIRTUAL_ENV = $VenvDir
|
||||
|
||||
$env:VIRTUAL_ENV_PROMPT = $Prompt
|
||||
|
||||
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
||||
|
||||
Write-Verbose "Setting prompt to '$Prompt'"
|
||||
@@ -233,7 +235,6 @@ if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
||||
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
|
||||
_OLD_VIRTUAL_PROMPT
|
||||
}
|
||||
$env:VIRTUAL_ENV_PROMPT = $Prompt
|
||||
}
|
||||
|
||||
# Clear PYTHONHOME
|
||||
|
||||
@@ -36,19 +36,26 @@ deactivate () {
|
||||
deactivate nondestructive
|
||||
|
||||
# on Windows, a path can contain colons and backslashes and has to be converted:
|
||||
if [ "${OSTYPE:-}" = "cygwin" ] || [ "${OSTYPE:-}" = "msys" ] ; then
|
||||
# transform D:\path\to\venv to /d/path/to/venv on MSYS
|
||||
# and to /cygdrive/d/path/to/venv on Cygwin
|
||||
export VIRTUAL_ENV=$(cygpath "/home/pac/thrillwiki/thrillwiki_django_no_react/.venv")
|
||||
else
|
||||
# use the path as-is
|
||||
export VIRTUAL_ENV="/home/pac/thrillwiki/thrillwiki_django_no_react/.venv"
|
||||
fi
|
||||
case "$(uname)" in
|
||||
CYGWIN*|MSYS*)
|
||||
# transform D:\path\to\venv to /d/path/to/venv on MSYS
|
||||
# and to /cygdrive/d/path/to/venv on Cygwin
|
||||
VIRTUAL_ENV=$(cygpath "/home/pac/thrillwiki/thrillwiki_django_no_react/.venv")
|
||||
export VIRTUAL_ENV
|
||||
;;
|
||||
*)
|
||||
# use the path as-is
|
||||
export VIRTUAL_ENV="/home/pac/thrillwiki/thrillwiki_django_no_react/.venv"
|
||||
;;
|
||||
esac
|
||||
|
||||
_OLD_VIRTUAL_PATH="$PATH"
|
||||
PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
export PATH
|
||||
|
||||
VIRTUAL_ENV_PROMPT=".venv"
|
||||
export VIRTUAL_ENV_PROMPT
|
||||
|
||||
# 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
|
||||
@@ -61,8 +68,6 @@ 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
|
||||
|
||||
@@ -13,13 +13,13 @@ setenv VIRTUAL_ENV "/home/pac/thrillwiki/thrillwiki_django_no_react/.venv"
|
||||
|
||||
set _OLD_VIRTUAL_PATH="$PATH"
|
||||
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
||||
setenv VIRTUAL_ENV_PROMPT ".venv"
|
||||
|
||||
|
||||
set _OLD_VIRTUAL_PROMPT="$prompt"
|
||||
|
||||
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
|
||||
set prompt = "(.venv) $prompt"
|
||||
setenv VIRTUAL_ENV_PROMPT "(.venv) "
|
||||
endif
|
||||
|
||||
alias pydoc python -m pydoc
|
||||
|
||||
@@ -37,6 +37,7 @@ set -gx VIRTUAL_ENV "/home/pac/thrillwiki/thrillwiki_django_no_react/.venv"
|
||||
|
||||
set -gx _OLD_VIRTUAL_PATH $PATH
|
||||
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
||||
set -gx VIRTUAL_ENV_PROMPT ".venv"
|
||||
|
||||
# Unset PYTHONHOME if set.
|
||||
if set -q PYTHONHOME
|
||||
@@ -56,7 +57,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
||||
set -l old_status $status
|
||||
|
||||
# Output the venv prompt; color taken from the blue of the Python logo.
|
||||
printf "%s%s%s" (set_color 4B8BBE) "(.venv) " (set_color normal)
|
||||
printf "%s(%s)%s " (set_color 4B8BBE) ".venv" (set_color normal)
|
||||
|
||||
# Restore the return status of the previous command.
|
||||
echo "exit $old_status" | .
|
||||
@@ -65,5 +66,4 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
||||
end
|
||||
|
||||
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
||||
set -gx VIRTUAL_ENV_PROMPT "(.venv) "
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from coverage.cmdline import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from coverage.cmdline import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from coverage.cmdline import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from pip._internal.cli.main import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1 +1 @@
|
||||
python3
|
||||
/usr/local/bin/python
|
||||
@@ -1 +1 @@
|
||||
/usr/local/bin/python3
|
||||
python
|
||||
@@ -1 +0,0 @@
|
||||
python3
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python3
|
||||
#!/home/pac/thrillwiki/thrillwiki_django_no_react/.venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user