forked from loganjhennessy/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
40 lines (34 loc) · 919 Bytes
/
install.sh
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
# MANUAL INSTALLATIONS
#
#
## Homebrew installation
which -s brew
if [[ $? != 0 ]] ; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
else
brew update
fi
ver=$(python -c "import sys; print(sys.version_info.major)")
if [ $ver -eq 2 ]; then
brew install python
elif [ $ver -eq 3 ]; then
echo "Python3 already installed"
else
echo "Unknown python version: $ver"
fi
# DOWNSTREAM INSTALLATIONS
#
#
## Brew bundle, installs all homebrew binaries, depends on `Brewfile` copied in previous step
brew bundle install --file ./dotfiles/Brewfile
## oh-my-zsh Installation
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
## PYTHON GLOBAL ENVIRONMENT
#
## Install requirements file
pip install -r requirements.txt
# DOTFILES
#
#
## Copy dotfiles and configs to home directory
python3 bootstrap.py