summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-13 17:00:55 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-10-13 17:00:55 +0200
commit5229d2c0520660e65ec83318b7be02e1efa10b04 (patch)
tree2c8bda28ae2a6c6816fa576bc6c72c8fe51e83b3
parent44c79570b1586683ff0dd50a0fa20601a62d27f2 (diff)
zshenv: add python specific variable setting
-rw-r--r--.zsh/zshenv/80_python16
1 files changed, 16 insertions, 0 deletions
diff --git a/.zsh/zshenv/80_python b/.zsh/zshenv/80_python
new file mode 100644
index 0000000..f430b78
--- /dev/null
+++ b/.zsh/zshenv/80_python
@@ -0,0 +1,16 @@
+# 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
+_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/
+
+[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH
+[ -d $_ZIPYTHON_LATEST ] && export PYTHONPATH=$PYTHONPATH:$_ZIPYTHON_LATEST
+
+# vim:ft=zsh