bpo-37468: make install no longer install wininst-*.exe files (GH-14511)
authorVictor Stinner <vstinner@redhat.com>
Mon, 15 Jul 2019 15:18:42 +0000 (17:18 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2019 15:18:42 +0000 (17:18 +0200)
make install no longer installs "wininst-*.exe" files used by
distutils bdist_wininst: bdist_wininst only works on Windows.

Makefile.pre.in
Misc/NEWS.d/next/Build/2019-07-01-14-39-40.bpo-37468.trbQ-_.rst [new file with mode: 0644]

index ef9a4f88598f13b1b1e5b5c69874cc45d35f3e99..94a1208efa094cecb04865ea5149649201aa9c01 100644 (file)
@@ -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 (file)
index 0000000..b8c70d5
--- /dev/null
@@ -0,0 +1,2 @@
+``make install`` no longer installs ``wininst-*.exe`` files used by
+distutils bdist_wininst: bdist_wininst only works on Windows.