From 85f9be0af9288600fe8a8739a41bc01a13c29a03 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 28 Feb 2023 23:58:23 +0100 Subject: [PATCH] regroup python env vars and require venv for pip --- dot_config/fish/private_config.fish.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index 0cc1a95..9dc3ab0 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -45,11 +45,11 @@ set -g fish_greeting "Yo ✌ Bien ?" # Install python with pyenv with tcl/tk support # https://stackoverflow.com/a/60469203/2758732 set -gx PYTHON_CONFIGURE_OPTS "--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" +set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/rtx/installs/python/3.11.1/bin/python3" +set -gx PIP_REQUIRE_VIRTUALENV true test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish -set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/rtx/installs/python/3.11.1/bin/python3" - set -gx LIBRARY_PATH $LIBRARY_PATH /usr/local/opt/openssl/lib/ set -gx EDITOR vim set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject