Browse Source

setup: add pipenv check

master
Jim Paris 1 year ago
parent
commit
b1748455a0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      initial-setup.sh

+ 4
- 0
initial-setup.sh View File

@@ -69,6 +69,10 @@ error() { msg 31 "Error:" "$@" ; exit 1 ; }
# Create pip environment
setup_venv()
{
if ! which pipenv >/dev/null 2>&1 ; then
echo "pipenv not found, try: sudo apt install pipenv"
exit 1
fi
mkdir .venv
pipenv install
}


Loading…
Cancel
Save