parameters: (self)
docstring: Initializes the task input and output nodes
docstring_summary: Initializes the task input and output nodes
docstring_tokens: Initializes the task input and output nodes
function: def init_files(self):
  		"""
  		Initializes the task input and output nodes
  		"""
  		if self.type == 'symlink_as':
  			inputs = []
  		else:
  			inputs = self.generator.to_nodes(self.install_from)
  			if self.type == 'install_as':
  				assert len(inputs) == 1
  		self.set_inputs(inputs)
  
  		dest = self.get_install_path()
  		outputs = []
  		if self.type == 'symlink_as':
  			if self.relative_trick:
  				self.link = os.path.relpath(self.link, os.path.dirname(dest))
  			outputs.append(self.generator.bld.root.make_node(dest))
  		elif self.type == 'install_as':
  			outputs.append(self.generator.bld.root.make_node(dest))
  		else:
  			for y in inputs:
  				if self.relative_trick:
  					destfile = os.path.join(dest, y.path_from(self.relative_base))
  				else:
  					destfile = os.path.join(dest, y.name)
  				outputs.append(self.generator.bld.root.make_node(destfile))
  		self.set_outputs(outputs)
function_tokens: def init_files ( self ) : if self . type == 'symlink_as' : inputs = [ ] else : inputs = self . generator . to_nodes ( self . install_from ) if self . type == 'install_as' : assert len ( inputs ) == 1 self . set_inputs ( inputs ) dest = self . get_install_path ( ) outputs = [ ] if self . type == 'symlink_as' : if self . relative_trick : self . link = os . path . relpath ( self . link , os . path . dirname ( dest ) ) outputs . append ( self . generator . bld . root . make_node ( dest ) ) elif self . type == 'install_as' : outputs . append ( self . generator . bld . root . make_node ( dest ) ) else : for y in inputs : if self . relative_trick : destfile = os . path . join ( dest , y . path_from ( self . relative_base ) ) else : destfile = os . path . join ( dest , y . name ) outputs . append ( self . generator . bld . root . make_node ( destfile ) ) self . set_outputs ( outputs )