diff options
Diffstat (limited to '')
-rw-r--r-- | python/Makefile | 16 | ||||
-rw-r--r-- | python/user-profile | 3 |
2 files changed, 19 insertions, 0 deletions
diff --git a/python/Makefile b/python/Makefile new file mode 100644 index 0000000..8c2d730 --- /dev/null +++ b/python/Makefile @@ -0,0 +1,16 @@ +.POSIX: + +install: + mkdir -p -- ~/.var/cache + ln -sf .var/cache/python_history ~/ + mkdir -p -- ~/.config/profile.d + test ! -d ~/.config/profile.d/python + ln -sf -- ~/.dotfiles/python/user-profile ~/.config/profile.d/python + +uninstall: + -unlink -- ~/.config/profile.d/python + -rmdir -- ~/.config/profile.d + -unlink -- ~/.var/cache/python_history + -unlink -- ~/.python_history + +.PHONY: install uninstall diff --git a/python/user-profile b/python/user-profile new file mode 100644 index 0000000..8c9f982 --- /dev/null +++ b/python/user-profile @@ -0,0 +1,3 @@ +# -*- shell-script -*- + +export PYTHON_EGG_CACHE="${XDG_CACHE_HOME}/python-eggs" |