summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-15 15:18:42 (GMT)
committerGitHub <noreply@github.com>2019-07-15 15:18:42 (GMT)
commite8692818afd731c1b7e925c626ac8200b1f1c31e (patch)
tree1da8d67df96fd3aaa061452db5572b220d575d1f
parent52693c10e82622d883433b779a45d0bd792f17ed (diff)
downloadcpython-e8692818afd731c1b7e925c626ac8200b1f1c31e.zip
cpython-e8692818afd731c1b7e925c626ac8200b1f1c31e.tar.gz
cpython-e8692818afd731c1b7e925c626ac8200b1f1c31e.tar.bz2
bpo-37468: make install no longer install wininst-*.exe files (GH-14511)
make install no longer installs "wininst-*.exe" files used by distutils bdist_wininst: bdist_wininst only works on Windows.
-rw-r--r--Makefile.pre.in3
-rw-r--r--Misc/NEWS.d/next/Build/2019-07-01-14-39-40.bpo-37468.trbQ-_.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ef9a4f8..94a1208 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1431,6 +1431,9 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c
*CVS) ;; \
*.py[co]) ;; \
*.orig) ;; \
+ # bpo-37468: Don't install distutils/command/wininst-*.exe files used \
+ # by distutils bdist_wininst: bdist_wininst only works on Windows. \
+ *wininst-*.exe) ;; \
*~) ;; \
*) \
if test -d $$i; then continue; fi; \
diff --git a/Misc/NEWS.d/next/Build/2019-07-01-14-39-40.bpo-37468.trbQ-_.rst b/Misc/NEWS.d/next/Build/2019-07-01-14-39-40.bpo-37468.trbQ-_.rst
new file mode 100644
index 0000000..b8c70d5
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2019-07-01-14-39-40.bpo-37468.trbQ-_.rst
@@ -0,0 +1,2 @@
+``make install`` no longer installs ``wininst-*.exe`` files used by
+distutils bdist_wininst: bdist_wininst only works on Windows.