parameters: (self, package, name, dstdir, contents)
docstring: Generate data file -- path is relative to distribution root dir
docstring_summary: Generate data file -- path is relative to distribution root dir
docstring_tokens: Generate data file -- path is relative to distribution root dir
function: def create_file(self, package, name, dstdir, contents):
          """Generate data file -- path is relative to distribution root dir"""
          dst = osp.join(dstdir, name)
          if self.verbose:
              print("create:  %s" % dst)
          full_dst = osp.join(self.target, dst)
          open(full_dst, 'w').write(contents)
          package.files.append(dst)
function_tokens: def create_file ( self , package , name , dstdir , contents ) : dst = osp . join ( dstdir , name ) if self . verbose : print ( "create:  %s" % dst ) full_dst = osp . join ( self . target , dst ) open ( full_dst , 'w' ) . write ( contents ) package . files . append ( dst )