def _add_ebcli_stamp()

in scripts/ebcli_installer.py [0:0]


def _add_ebcli_stamp(virtualenv_directory):
    """
    Function adds a stamp in the form of a file, `EBCLI_INSTALLER_STAMP`
    to recognize during future executions of this script that it created
    it.

    :param virtualenv_directory: The directory where the EBCLI and its artifacts
    will be installed
    :return: None
    """
    with open(
        os.path.join(
            virtualenv_directory,
            EBCLI_INSTALLER_STAMP
        ),
        'w'
    ) as file:
        file.write('\n')