parameters: (self, name, env=None)
docstring: Set a new config set for conf.env. If a config set of that name already exists,
  		recall it without modification.
  
  		The name is the filename prefix to save to ``c4che/NAME_cache.py``, and it
  		is also used as *variants* by the build commands.
  		Though related to variants, whatever kind of data may be stored in the config set::
  
  			def configure(cfg):
  				cfg.env.ONE = 1
  				cfg.setenv('foo')
  				cfg.env.ONE = 2
  
  			def build(bld):
  				2 == bld.env_of_name('foo').ONE
  
  		:param name: name of the configuration set
  		:type name: string
  		:param env: ConfigSet to copy, or an empty ConfigSet is created
  		:type env: :py:class:`waflib.ConfigSet.ConfigSet`
docstring_summary: Set a new config set for conf.env. If a config set of that name already exists,
  		recall it without modification.
docstring_tokens: Set a new config set for conf . env . If a config set of that name already exists recall it without modification .
function: def setenv(self, name, env=None):
  		"""
  		Set a new config set for conf.env. If a config set of that name already exists,
  		recall it without modification.
  
  		The name is the filename prefix to save to ``c4che/NAME_cache.py``, and it
  		is also used as *variants* by the build commands.
  		Though related to variants, whatever kind of data may be stored in the config set::
  
  			def configure(cfg):
  				cfg.env.ONE = 1
  				cfg.setenv('foo')
  				cfg.env.ONE = 2
  
  			def build(bld):
  				2 == bld.env_of_name('foo').ONE
  
  		:param name: name of the configuration set
  		:type name: string
  		:param env: ConfigSet to copy, or an empty ConfigSet is created
  		:type env: :py:class:`waflib.ConfigSet.ConfigSet`
  		"""
  		if name not in self.all_envs or env:
  			if not env:
  				env = ConfigSet.ConfigSet()
  				self.prepare_env(env)
  			else:
  				env = env.derive()
  			self.all_envs[name] = env
  		self.variant = name
function_tokens: def setenv ( self , name , env = None ) : if name not in self . all_envs or env : if not env : env = ConfigSet . ConfigSet ( ) self . prepare_env ( env ) else : env = env . derive ( ) self . all_envs [ name ] = env self . variant = name