mò &U²Ic@s—dZdZdkZdklZdklZhdd<dd<dd  %sitmacNscould not copy '%s' to '%s': %siÿÿÿÿRR(*tdistutils.dep_utiltnewertstattST_ATIMEtST_MTIMEtST_MODEtS_IMODER RtisfileR RtisdirRtdirtjointbasenametdirnametupdatetlogtdebugt _copy_actiontlinktactiontKeyErrort ValueErrortinfotdry_runtnamet macostoolstcopytpreserve_timesR texcRtsamefiletsymlinkRt preserve_modetsttutimetchmod(R RR9R5R(R,tverboseR1RR!RR$R RR6R:R-R3((Rt copy_fileLsR %% # ) ) ""c Csèdkl}l} l}l} l} dk}tid||ƒ|o|Sn| |ƒpt d|‚n||ƒot ii|| |ƒƒ}n%||ƒot d||f‚n|| |ƒƒpt d||f‚nd} yt i||ƒWnNt ij o?\}}||ijo d} qSt d |||f‚nX| oŠt||ƒyt i|ƒWqät ij oV\}}yt i|ƒWnt ij onXt d d ||||f‚qäXn|S( s%Move a file 'src' to 'dst'. If 'dst' is a directory, the file will be moved into it with the same name; otherwise, 'src' is just renamed to 'dst'. Return the new full name of the file. Handles cross-device moves on Unix using 'copy_file()'. What about other systems??? (sexistssisfilesisdirsbasenamesdirnameNsmoving %s -> %ss#can't move '%s': not a regular files0can't move '%s': destination '%s' already existss2can't move '%s': destination '%s' not a valid pathiiscouldn't move '%s' to '%s': %ss+couldn't move '%s' to '%s' by copy/delete: sdelete '%s' failed: %s(tos.pathRR"R#R&R'R R)R0R RR1RR RR%tcopy_ittrenameR tnumtmsgtEXDEVR>R( R RR=R1R#RR RBRCR'R"R&R@((Rt move_file¶s@ %      &cCs?t|dƒ}x|D]}|i|dƒqW|iƒdS(s{Create a file with the specified name and write 'contents' (a sequence of strings without line terminators) to it. tws N(RtfilenametftcontentstlineRR(RGRIRJRH((Rt write_fileös ( t__doc__t __revision__R tdistutils.errorsRt distutilsR)RR+RR>RERK( RR)R>RMR+RKRER R((Rt?s   !8j@