def _python_script_body()

in scripts/ebcli_installer.py [0:0]


def _python_script_body(virtualenv_location):
    """
    Function returns a Python 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['py'].format(
        bin_location=_original_eb_location(virtualenv_location)
    )