def __init__(self, buildout, name, options): BaseSlapRecipe.__init__(self, buildout, name, options) self.destroy_wrapper_location = os.path.join(self.bin_directory, 'destroy') self.running_wrapper_location = os.path.join(self.bin_directory, 'run') # wrapper parts options['scripts'] = ''' run destroy ''' options['entry-points'] = ''' run=slapos.recipe.libcloud.run:run destroy=slapos.recipe.libcloud.destroy:destroy ''' self.egg = zc.recipe.egg.Egg(buildout, '', options) self.configuration_file = os.path.join(self.etc_directory, 'cloudmgr.cnf')
def __init__(self, buildout, name, options): self.egg = zc.recipe.egg.Egg(buildout, options['recipe'], options) BaseSlapRecipe.__init__(self, buildout, name, options)
def __init__(self, buildout, name, options): BaseSlapRecipe.__init__(self, buildout, name, options) self.pjsua_configuration_file = os.path.join(self.etc_directory, 'pjsua.conf')