#!{{ lookPath "bash" }} # include lib . ${CHEZMOI_WORKING_TREE}/scripts/utils.sh {{- if (ne .hasIDE false) }} log "Finalize quarto install" inf "Install tinytex" if [[ $(command -v quarto) ]]; then quarto install tinytex fi inf "Install python dependencies" python3 -Im pip install jupyter jupyterlab ipykernel matplotlib plotly pandas inf "Install Jupyter kernels" python3 -Im ipykernel install --user --name python-asdf --display-name "Python (asdf)" Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \ -e "IRkernel::installspec(user = TRUE, jupyter='/home/jeff/.asdf/installs/python/3.12.11/bin/jupyter')" julia -e 'ENV["JUPYTER"]="/home/jeff/.asdf/installs/python/3.12.11/bin/jupyter"; using Pkg; Pkg.add("IJulia"); Pkg.build("IJulia")' log "Quarto install complete" {{- end }}