aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2019-12-24 15:04:01 +0100
committerThomas Schneider <qsx@chaotikum.eu>2019-12-24 15:04:01 +0100
commitf3e66345a3b1348a35c795d8768c6dbbcc09b8a3 (patch)
treed04f3eb3e92fc0bd5825f992b7354d11d5d7aea3 /setup.py
parentcea1d28cff6d72538a8c0ab87f3da1c17c9a98ac (diff)
Rename setup.py to install.py
The name setup.py is associated with things that this one is not.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/setup.py b/setup.py
deleted file mode 100755
index bd58299..0000000
--- a/setup.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python3
-
-import os
-import sys
-from glob import glob
-
-os.chdir(os.path.dirname(__file__))
-exit = 0
-
-for f in glob('dot.*'):
- dst = os.path.expanduser(
- '~/' + f[3:].replace("--", "\ufffd").replace("-", "/").replace("\ufffd", "-"))
- src = os.path.join(os.getcwd(), f)
- src_rel = os.path.relpath(src, os.path.dirname(dst))
-
- os.makedirs(os.path.dirname(dst), exist_ok=True)
-
- try:
- os.symlink(src_rel, dst)
- except FileExistsError:
- if not os.path.samefile(src, dst):
- print(dst + " exists and does not link do " + src)
- exit = 1
-
-sys.exit(exit)