def _eb_wrapper_location()

in scripts/ebcli_installer.py [0:0]


def _eb_wrapper_location(virtualenv_location):
    """
    Function returns the location of the directory within the virtualenv,
    ".ebcli-virtual-env", where the wrapper of the `eb` executable should
    be installed. This is `executables` on all OSes.
    :param virtualenv_location: the relative or absolute path to the location
                          where the virtualenv, ".ebcli-virtual-env", was
                          created.
    :return: the location of the directory within the virtualenv where
             the wrapper of the `eb` executable should be installed.
    """
    return os.path.join(
        os.path.abspath(virtualenv_location),
        VIRTUALENV_DIR_NAME,
        'executables'
    )