summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshenv/80_python15
1 files changed, 12 insertions, 3 deletions
diff --git a/.zsh/zshenv/80_python b/.zsh/zshenv/80_python
index f430b78..5598fce 100644
--- a/.zsh/zshenv/80_python
+++ b/.zsh/zshenv/80_python
@@ -7,10 +7,19 @@
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
-_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages
-_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/
+#_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages
+#[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH
-[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH
+_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/
[ -d $_ZIPYTHON_LATEST ] && export PYTHONPATH=$PYTHONPATH:$_ZIPYTHON_LATEST
+_PYENV_ROOT="$HOME/.pyenv"
+[ -d $_PYENV_ROOT ] && export PYENV_ROOT=$_PYENV_ROOT
+
+path_prepend $PYENV_ROOT/bin
+
+eval "$(pyenv init -)"
+
+export PYTHONSTARTUP=$HOME/.pythonrc
+
# vim:ft=zsh
number of pins. Add an nr_pins field to struct sh_pfc_soc_info to store the number of pins implemented by the SoC, remove the data and mark range fields and introduce sh_pfc_gpio_is_pin() and sh_pfc_gpio_is_function() functions to replace range-based checks. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-sh7757.c')