Be more explicit about virtualenvwrapper script
This commit is contained in:
parent
46440b6a95
commit
7ce3aae20c
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue