Skip to content

Commit e734455

Browse files
committed
using pyenv version-name output to specify which python version to use, no longer relying on the PIPENV_PYTHON environment variable in our shell profiles
1 parent d7ce23b commit e734455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/post_gen_project.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
command -v pipenv >/dev/null 2>&1 || { echo >&2 "pipenv not found. Aborting startup script."; exit 1; }
44

55
## Main installs typical to a project
6-
pipenv install ipython ipykernel pandas matplotlib notebook jupyterlab altair jupytext jupyterlab_templates
6+
pipenv install --python $(pyenv version-name) ipython ipykernel pandas matplotlib notebook jupyterlab altair jupytext jupyterlab_templates
77

88
## Add the first install script to the Pipfile and rmarkdown export script
99
echo -e "\n[scripts]\nfirst_install = \"python .first_install.py\"\nexport_rmarkdown = \"Rscript .export_rmarkdown.R\"" >> Pipfile

0 commit comments

Comments
 (0)