Be more explicit about virtualenvwrapper script

This commit is contained in:
Lance Edgar 2022-11-20 15:31:50 -06:00
parent 46440b6a95
commit 7ce3aae20c

View file

@ -226,7 +226,8 @@ def install_virtualenvwrapper(c, workon_home='/srv/envs', user='root',
wrapper='/usr/share/virtualenvwrapper/virtualenvwrapper.sh')
else:
pip(c, 'virtualenvwrapper', upgrade=upgrade)
configure_virtualenvwrapper(c, user, workon_home)
configure_virtualenvwrapper(c, user, workon_home,
wrapper='/usr/local/bin/virtualenvwrapper.sh')
if configure_me:
# TODO
# configure_virtualenvwrapper(c, env.user, workon_home)
@ -234,6 +235,7 @@ def install_virtualenvwrapper(c, workon_home='/srv/envs', user='root',
def configure_virtualenvwrapper(c, user, workon_home='/srv/envs',
# TODO: this default should change, per apt
wrapper='/usr/local/bin/virtualenvwrapper.sh'):
"""
Configure virtualenvwrapper for the given user account.