Commits

Anthony Tuininga committed e54a151

Copy the stat() information as was done in earlier versions of cx_Freeze.

Comments (0)

Files changed (1)

cx_Freeze/freezer.py

         if not self.silent:
             sys.stdout.write("copying %s -> %s\n" % (source, target))
         shutil.copyfile(source, target)
+        shutil.copystat(source, target)
         if includeMode:
             shutil.copymode(source, target)
         self.filesCopied[normalizedTarget] = None