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:
Andrejus
2020-02-26 14:46:23 +00:00
parent 5c0637db75
commit 549d6ce88d
20 changed files with 311 additions and 85 deletions

23
install/20-pyenv.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
#
# After running this script:
# 1. pyenv is installed
#
# 1. pyenv is installed
if ! hash pyenv 2>/dev/null; then
printf "Installing pyenv...\n"
# Install pyenv prerequisites
# see https://github.com/pyenv/pyenv/wiki/common-build-problems
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
# Install pyenv
# see https://github.com/pyenv/pyenv-installer
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
fi
printf "pyenv is installed\n"