diff options
author | Dmitry Kuznetsov <jorikdima@gmail.com> | 2018-12-11 20:35:24 -0800 |
---|---|---|
committer | Dmitry Kuznetsov <jorikdima@gmail.com> | 2018-12-12 22:04:49 -0800 |
commit | 7843688bc33dd4e13e10130bc49da4c290fe7d7f (patch) | |
tree | 901541498a57004fbc2193ffa7e67484bee8ace0 /setuptools/command/build_py.py | |
parent | 4de8dc801004440310db8fffa3da0f76b05a2a1e (diff) | |
download | python-setuptools-git-7843688bc33dd4e13e10130bc49da4c290fe7d7f.tar.gz |
Don't keep file modes for package data.
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r-- | setuptools/command/build_py.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py index b0314fd4..6fc0a4e4 100644 --- a/setuptools/command/build_py.py +++ b/setuptools/command/build_py.py @@ -120,7 +120,7 @@ class build_py(orig.build_py, Mixin2to3): target = os.path.join(build_dir, filename) self.mkpath(os.path.dirname(target)) srcfile = os.path.join(src_dir, filename) - outf, copied = self.copy_file(srcfile, target) + outf, copied = self.copy_file(srcfile, target, preserve_mode=False) srcfile = os.path.abspath(srcfile) if (copied and srcfile in self.distribution.convert_2to3_doctests): |