blob: 251155c22803f6fde163d6be2c61887f1914002c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# zshenv/80_python
#
# Set variables related to Python
#
# Copyright © 2014-2016 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
#_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages
#[ -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"
if [ -d $_PYENV_ROOT ] ; then
export PYENV_ROOT=$_PYENV_ROOT
path_prepend $PYENV_ROOT/bin
eval "$(pyenv init -)"
fi
export PYTHONSTARTUP=$HOME/.pythonrc
# vim:ft=zsh
|