-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
setup.py
possibly using sys.exit
Since `setup.py` is an arbitrary Python script legacy scripts may be complex and may use `sys.exit`. To adhere to PEP 517 handle `SystemExit` exception by ignoring it with exit code `0` and converting it to `CalledProcessError(exit_code, 'setup.py')` in case of non-zero exit code. fixes #3973
- Loading branch information
Showing
2 changed files
with
65 additions
and
1 deletion.
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