-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assorted environment checks. (#6361)
* Windows: Catch/re-raise failure to load win32ctypes under -OO. PyInstaller can no longer run under Python's optimised mode due to the dependency chain PyInstaller -> win32ctypes -> cffi -> pycparser which has started using/ Yacc which interprets grammars from docstrings. * Docs: Remove running with optimisations section (#6345). Running with -OO no longer works on Windows, makes such an insignificant difference to the overall output size and as generally agreed to be more trouble than it's worth. * Linux: Explicitly check that binutils tools are available. This should catch issues like: #6358 (comment) * Abort build if any obsolete stdlib backports are installed. Most prominently, check for `enum34` - the backport of `enum` - which masks the stdlib variant causing issues like #5728. Co-authored-by: Jasper Harrison <legorooj@protonmail.com>
- Loading branch information
Showing
2 changed files
with
36 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters