-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.py
45 lines (36 loc) · 1.09 KB
/
install.py
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python3
# coding: utf-8
# Python 2 and 3 compatibility
from __future__ import print_function
import installer
########
# TMUX #
########
tmuxDeps = ["tmux"]
tmuxSRCFolder = "tmux/"
tmuxDSTFolder = "~/"
#######
# VIM #
#######
vimDeps = ["vim"]
vimSRCFolder = "vim/"
vimDSTFolder = "~/.vim/"
##########
# CONFIG #
##########
configDeps = ["flake8"]
configSRCFolder = ".config/"
configDSTFolder = "~/.config/"
print("\t╔═════════════════════╗")
print("\t║ .terminal installer ║")
print("\t╠═════════════════════╣")
print("\t║ Version 1.0 ║")
print("\t║ 09/16/2018 ║")
print("\t║ Pelloin Valentin ║")
print("\t╚═════════════════════╝")
tmux = installer.Insaller("tmux", tmuxDeps, tmuxSRCFolder, tmuxDSTFolder)
tmux.install()
vim = installer.Insaller("vim", vimDeps, vimSRCFolder, vimDSTFolder)
vim.install()
config = installer.Insaller("config", configDeps, configSRCFolder, configDSTFolder)
config.install()