-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated setup for newhome #28
base: main
Are you sure you want to change the base?
Conversation
…t when installing after new hom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good PR, remove the defaults for the pyenv and poetry paths before merge.
setup.sh
Outdated
VPOETRY_HOME="" | ||
VPYENV_ROOT="" | ||
USER_NAME=$(echo $USER) | ||
VPOETRY_HOME="/nfs-share/$USER_NAME/.poetry" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not reasonable as a default given the public nature of the template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add back the user-imputed version.
PYENV_BIN=$PYENV_ROOT/bin/pyenv | ||
|
||
eval "$($PYENV_BIN init -)" | ||
echo "export PYENV_ROOT=\"$VPYENV_ROOT\"" >> /home/$USER_NAME/.bashrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reasonable change, if anyone ever complains, we can change it back to $HOME.
I'm strongly against hardcoding paths, especially if they are necessary for accessing crucial files such as |
Description
Better accommodate users who move home dir before installing libraries.