#!/build/toolchain/lin64/python-3.5.1-openssl1.0.2/bin/python ''' Copyright 2019 VMware, Inc. All rights reserved. -- VMware Confidential ''' ''' partnerDepotAuthor is a submodule of the ESX Packaging kit that is responsible for various depot management activities. These include initial depot creation along with adding or removing vibs, components and add ons to a depot. Options to query vibs, components, addons and base images are also included. ''' import os import sys # Add epkCommon to the path and use it to setup other python paths EPK_LIB_DIR = (os.path.join(os.path.dirname(os.path.dirname( os.path.realpath(os.path.abspath(__file__)))), 'epkLib')) sys.path.append(EPK_LIB_DIR) from epkCommon import SetupSysPath SetupSysPath() sys.path.append(os.path.join(EPK_LIB_DIR, 'depotAuthor.zip')) from depotAuthor import DepotAuthorMain if __name__ == '__main__': DepotAuthorMain(sys.argv)