in scripts/ebcli_installer.py [0:0]
def _powershell_script_body(virtualenv_location):
"""
Function returns a Powershell (PS1) script which essentially will
wrap the `eb` executable such that the executable is invoked within
the virtualenv, ".ebcli-virtual-env", created apriori.
:param virtualenv_location: the relative or absolute path to the location
where the virtualenv, ".ebcli-virtual-env", was
created.
:return: None
"""
return EXECUTABLE_WRAPPERS['ps1'].format(
bin_location=_original_eb_location(virtualenv_location)
)