diff options
author | Alon Bar-Lev <[email protected]> | 2017-04-08 13:34:31 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-10 12:44:33 +0000 |
commit | df8433bffa9e669897243f08edf7845762250e4a (patch) | |
tree | 36014e53376bdfe73c2ca3f4690c9540f5d424e5 /lang/python/setup.py.in | |
parent | python: Remove usage of PYTHON_VERSIONS (diff) | |
download | gpgme-df8433bffa9e669897243f08edf7845762250e4a.tar.gz gpgme-df8433bffa9e669897243f08edf7845762250e4a.zip |
python: Remove unneeded stats copy
* lang/python/setup.py.in: errors.i, gpgme.h are generated and always
newer than the original.
Signed-off-by: Alon Bar-Lev <[email protected]>
Diffstat (limited to 'lang/python/setup.py.in')
-rwxr-xr-x | lang/python/setup.py.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in index e50971cf..f4ce64ff 100755 --- a/lang/python/setup.py.in +++ b/lang/python/setup.py.in @@ -195,12 +195,6 @@ class BuildExtFirstHack(build): self._generate_gpgme_h(gpgme_h, self._in_build_base("gpgme.h")) self._generate_errors_i(gpg_error_h, self._in_build_base("errors.i")) - # Keep timestamp to avoid rebuild - for source, target in ((gpgme_h, self._in_build_base("gpgme.h")), - (gpg_error_h, self._in_build_base("errors.i"))): - if not up_to_date(source, target): - shutil.copystat(source, target) - # Copy due to http://bugs.python.org/issue2624 # Avoid creating in srcdir for source, target in ((in_srcdir(n), self._in_build_base(n)) |