From f98a0da17932e2b180da83231afd9f06b537a85f Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Fri, 23 Oct 2020 16:09:34 -0700 Subject: [PATCH] update update_requirements.sh old-commit-hash: c0715b57e2d80cd59560bb2525446fefe99ea843 --- update_requirements.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update_requirements.sh b/update_requirements.sh index 765f2d5af7..f05f0b02bd 100755 --- a/update_requirements.sh +++ b/update_requirements.sh @@ -6,6 +6,7 @@ if ! command -v pyenv &> /dev/null; then echo "please install pyenv ..." echo "https://github.com/pyenv/pyenv-installer" echo "example:" + echo "sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev" echo "curl https://pyenv.run | bash" echo "echo 'export PYENV_ROOT=\"\$HOME/.pyenv\"' >> ~/.bashrc" echo "echo 'export PATH=\"\$PYENV_ROOT/bin:\$PYENV_ROOT/shims:\$PATH\"' >> ~/.bashrc" @@ -30,3 +31,6 @@ echo "pip packages install ..." pipenv install --dev --deploy --system # update shims for newly installed executables (e.g. scons) pyenv rehash + +echo "precommit install ..." +pre-commit install