parameters: (self)
docstring: Copy template files.
  
          The files in TPL_FILE are copied verbatimly.
docstring_summary: Copy template files.
docstring_tokens: Copy template files .
function: def copyTemplates(self):
          """Copy template files.
  
          The files in TPL_FILE are copied verbatimly.
          """
          print >>sys.stderr, 'Copying Template Files'
          for path in TPL_FILES:
              # Get target path name.
              targetPath = os.path.join(self.out_path, os.path.dirname(path))
              if not os.path.exists(targetPath):  # Make sure targetPath exists.
                  os.makedirs(targetPath)
              # Copy file.
              srcPath = os.path.join(self.tpl_path, path)
              destPath = os.path.join(self.out_path, path)
              print >>sys.stderr, '  %s => %s' % (srcPath, destPath)
              shutil.copyfile(srcPath, destPath)
function_tokens: def copyTemplates ( self ) : print >> sys . stderr , 'Copying Template Files' for path in TPL_FILES : # Get target path name. targetPath = os . path . join ( self . out_path , os . path . dirname ( path ) ) if not os . path . exists ( targetPath ) : # Make sure targetPath exists. os . makedirs ( targetPath ) # Copy file. srcPath = os . path . join ( self . tpl_path , path ) destPath = os . path . join ( self . out_path , path ) print >> sys . stderr , '  %s => %s' % ( srcPath , destPath ) shutil . copyfile ( srcPath , destPath )