parameters: (self)
docstring: Read and parse manifest template file named by self.template.
  
          (usually "MANIFEST.in") The parsing and processing is done by
          'self.filelist', which updates itself accordingly.
docstring_summary: Read and parse manifest template file named by self.template.
docstring_tokens: Read and parse manifest template file named by self . template .
function: def read_template (self):
          """Read and parse manifest template file named by self.template.
  
          (usually "MANIFEST.in") The parsing and processing is done by
          'self.filelist', which updates itself accordingly.
          """
          log.info("reading manifest template '%s'", self.template)
          template = TextFile(self.template,
                              strip_comments=1,
                              skip_blanks=1,
                              join_lines=1,
                              lstrip_ws=1,
                              rstrip_ws=1,
                              collapse_join=1)
  
          while 1:
              line = template.readline()
              if line is None:            # end of file
                  break
  
              try:
                  self.filelist.process_template_line(line)
              except DistutilsTemplateError, msg:
                  self.warn("%s, line %d: %s" % (template.filename,
                                                 template.current_line,
                                                 msg))
function_tokens: def read_template ( self ) : log . info ( "reading manifest template '%s'" , self . template ) template = TextFile ( self . template , strip_comments = 1 , skip_blanks = 1 , join_lines = 1 , lstrip_ws = 1 , rstrip_ws = 1 , collapse_join = 1 ) while 1 : line = template . readline ( ) if line is None : # end of file break try : self . filelist . process_template_line ( line ) except DistutilsTemplateError , msg : self . warn ( "%s, line %d: %s" % ( template . filename , template . current_line , msg ) )