Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/dotfiles. my dotfiles (.vimrc, .bashrc, etc.)
Something went wrong. Try again.
12345678910111213141516171819202122#!/bin/bash
set -euo pipefailtest -z ${DEBUG:-} || set -xuname=$(uname -s | tr "[:upper:]" "[:lower:]")DOTFILES_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
# This script installs Python and several tools in the Python ecosystem.echo "Installing Python and friends"
. $SCRIPT_DIR/functions.sh
if [[ $uname == darwin ]]; then # Runtime dependencies of pyenv (https://github.com/pyenv/pyenv/wiki#suggested-build-environment) pkginstall make build-essential libssl-dev zlib1g-dev \ libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev npm install -g pyright # Language server install_now pyenv pyenv-virtualenvfi