mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(python): add install script for Python
This commit is contained in:
@@ -7,5 +7,8 @@ source ./nvm.sh
|
||||
# Installing global Node.js modules
|
||||
source ./npm.sh
|
||||
|
||||
# Installing Python version manager
|
||||
source ./python.sh
|
||||
|
||||
# Install global Gems
|
||||
source ./gem.sh
|
||||
|
||||
24
setup/python.sh
Executable file
24
setup/python.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install Pyenv
|
||||
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
|
||||
|
||||
# Activate Pyenv
|
||||
export PATH="~/.pyenv/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
pyenv install 2.7.17
|
||||
pyenv install 3.8.5
|
||||
|
||||
pyenv virtualenv 2.7.17 neovim2
|
||||
pyenv virtualenv 3.8.5 neovim3
|
||||
|
||||
pyenv activate neovim2
|
||||
pip2 install neovim
|
||||
|
||||
pyenv activate neovim3
|
||||
pip3 install neovim
|
||||
|
||||
pip3 install awscli
|
||||
|
||||
Reference in New Issue
Block a user