Merge branch 'install' of https://github.com/andrejusk/dotfiles
Clean scripts, remove sudo requirement Add python dependencies Correctly symlink and add poetry Update make clean Add python2 to dependencies Fix pyenv install Use pyenv to install python Update .gitignore Install git and keybase
This commit is contained in:
16
install/21-python.sh
Normal file
16
install/21-python.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# After running this script:
|
||||
# 1. python is installed
|
||||
#
|
||||
|
||||
# 1. python is installed
|
||||
if ! hash python 2>/dev/null; then
|
||||
|
||||
printf "Installing python...\n"
|
||||
|
||||
pyenv install -s 3.7.0
|
||||
pyenv global 3.7.0
|
||||
|
||||
fi
|
||||
printf "python is installed\n"
|
||||
Reference in New Issue
Block a user