setup.py
changeset 7896 4c954e1e73ef
parent 7879 9aae456abab5
child 8695 358d8bed9626
equal deleted inserted replaced
7894:ad0eeb0f7a8d 7896:4c954e1e73ef
   117             if filename[-1] == '~':
   117             if filename[-1] == '~':
   118                 continue
   118                 continue
   119             src = '%s/%s' % (directory, filename)
   119             src = '%s/%s' % (directory, filename)
   120             dest = to_dir + src[len(from_dir):]
   120             dest = to_dir + src[len(from_dir):]
   121             if verbose:
   121             if verbose:
   122                print >> sys.stderr, src, '->', dest
   122                sys.stderr.write('%s -> %s\n' % (src, dest))
   123             if os.path.isdir(src):
   123             if os.path.isdir(src):
   124                 if not exists(dest):
   124                 if not exists(dest):
   125                     os.mkdir(dest)
   125                     os.mkdir(dest)
   126             else:
   126             else:
   127                 if exists(dest):
   127                 if exists(dest):