parameters: (self)
docstring: Writes the files in the output root.
docstring_summary: Writes the files in the output root.
docstring_tokens: Writes the files in the output root .
function: def WriteRoot(self):
      """Writes the files in the output root."""
      # Find ourselves
      src_dir = os.path.split(self.WriteRoot.func_code.co_filename)[0]
  
      # Files to copy into output root
      copy_files = ['croc.css']
      # Third_party files to copy into output root
      third_party_files = ['sorttable.js']
  
      # Copy files from our directory into the output directory
      for copy_file in copy_files:
        print '  Copying %s' % copy_file
        shutil.copyfile(os.path.join(src_dir, copy_file),
                        os.path.join(self.output_root, copy_file))
      # Copy third party files from third_party directory into
      # the output directory
      src_dir = os.path.join(src_dir, 'third_party')
      for third_party_file in third_party_files:
        print '  Copying %s' % third_party_file
        shutil.copyfile(os.path.join(src_dir, third_party_file),
                        os.path.join(self.output_root, third_party_file))
function_tokens: def WriteRoot ( self ) : # Find ourselves src_dir = os . path . split ( self . WriteRoot . func_code . co_filename ) [ 0 ] # Files to copy into output root copy_files = [ 'croc.css' ] # Third_party files to copy into output root third_party_files = [ 'sorttable.js' ] # Copy files from our directory into the output directory for copy_file in copy_files : print '  Copying %s' % copy_file shutil . copyfile ( os . path . join ( src_dir , copy_file ) , os . path . join ( self . output_root , copy_file ) ) # Copy third party files from third_party directory into # the output directory src_dir = os . path . join ( src_dir , 'third_party' ) for third_party_file in third_party_files : print '  Copying %s' % third_party_file shutil . copyfile ( os . path . join ( src_dir , third_party_file ) , os . path . join ( self . output_root , third_party_file ) )