-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-37468: make install no longer install wininst-*.exe files #14511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
make install no longer installs "wininst-*.exe" files used by distutils bdist_wininst: bdist_wininst only works on Windows.
cc @pganssle |
Makefile.pre.in
Outdated
@@ -1419,6 +1419,8 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c | |||
echo $(INSTALL_DATA) $$i $(LIBDEST); \ | |||
fi; \ | |||
done | |||
@# bpo-37468: Don't install distutils/command/wininst-*.exe files used | |||
@# by distutils bdist_wininst: bdist_wininst only works on Windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this comment be above line 1436? This for loop does other stuff, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure if it is possible to put comments into this loop which uses \ at end of lines for multiline expression. It looks like it works, so I moved the comment inside the loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming that the Make file can't (or at least isn't intended to) be executed on Windows anyway, then I think this is a good idea.
I had one nitpicky suggestion about where the comment should go, but I don't think I need to withhold approval based on that. @vstinner If you disagree with my suggestion about where the comment should go, feel free to merge.
I don't know how if things like Cygwin or MinGW can build Python using Makefile. I don't know if Cygwin is supported or not (I don't think so). |
I'm no expert in either of those things, but I think that Cygwin is kind of like WSL in that it can and does use |
@@ -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) ;; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…GH-14511) make install no longer installs "wininst-*.exe" files used by distutils bdist_wininst: bdist_wininst only works on Windows.
…GH-14511) make install no longer installs "wininst-*.exe" files used by distutils bdist_wininst: bdist_wininst only works on Windows.
make install no longer installs "wininst-*.exe" files used by
distutils bdist_wininst: bdist_wininst only works on Windows.
https://bugs.python.org/issue37468