mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
private certificates for Python (Pip, Poetry)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# -------------------------------------------------------------
|
||||
# PYTHON
|
||||
# -------------------------------------------------------------
|
||||
|
||||
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/python" ]; then
|
||||
export PATH="$HOME/.pythonz/pythons/CPython-3.9.9/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/pew" ]; then
|
||||
source "$(pew shell_config)"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.poetry/bin" ]; then
|
||||
export PATH="$HOME/.poetry/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -f "{{ .extra_ca_cert }}" ]; then
|
||||
export REQUESTS_CA_BUNDLE={{ .extra_ca_cert }}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user