Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Jan 30, 2024
1 parent 955849f commit a9cbc7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COOKIECUTTER_OPTIONS=(
if [ ! -d "$HOME/.pyenv/versions/$PYTHON_VERSION" ]; then
pyenv install $PYTHON_VERSION
fi
pyenv local $PYTHON_VERSION
pyenv local $PYTHON_VERSION || echo "pyenv not found"

python -m venv .venv
source .venv/bin/activate
Expand Down Expand Up @@ -103,3 +103,5 @@ grep -qF -- "$LINE" "$FILE" || echo "$LINE" >> "$FILE"
# Build JupyterLite
[[ ! -z $BUILD ]] && jupyter lite build --contents content --output-dir dist

# Exit with zero (for GH workflow)
exit 0

0 comments on commit a9cbc7e

Please sign in to comment.