aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Makefile23
-rw-r--r--python/bash-aliases3
-rw-r--r--python/user-profile3
3 files changed, 0 insertions, 29 deletions
diff --git a/python/Makefile b/python/Makefile
deleted file mode 100644
index f0d75f6..0000000
--- a/python/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-.POSIX:
-
-install:
- mkdir -p -- ~/.var/cache
- test ! -d ~/.python_history
- ln -sf .var/cache/python_history ~/.python_history
- mkdir -p -- ~/.config/profile.d
- test ! -d ~/.config/profile.d/python
- ln -sf -- ~/.dotfiles/python/user-profile ~/.config/profile.d/python
- if test "$$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1)" = 2; then \
- mkdir -p -- ~/.config/bash/aliases.d && \
- test ! -d ~/.config/bash/aliases.d/python && \
- ln -sf -- ~/.dotfiles/python/bash-aliases ~/.config/bash/aliases.d/python; \
- fi
-
-uninstall:
- +! ../check-installed python
- -unlink -- ~/.config/profile.d/python
- -rmdir -- ~/.config/profile.d
- -unlink -- ~/.var/cache/python_history
- -unlink -- ~/.python_history
- -unlink -- ~/.config/bash/aliases.d/python
- -rmdir -- ~/.config/bash/aliases.d
diff --git a/python/bash-aliases b/python/bash-aliases
deleted file mode 100644
index 90ef57b..0000000
--- a/python/bash-aliases
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- shell-script -*-
-
-alias python="python3"
diff --git a/python/user-profile b/python/user-profile
deleted file mode 100644
index 8c9f982..0000000
--- a/python/user-profile
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- shell-script -*-
-
-export PYTHON_EGG_CACHE="${XDG_CACHE_HOME}/python-eggs"