mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Issue #19544 and Issue #1180: Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes.
This commit is contained in:
parent
ce4179d022
commit
2a1838b9df
5 changed files with 68 additions and 8 deletions
|
@ -128,8 +128,9 @@ def setup (**attrs):
|
|||
if _setup_stop_after == "config":
|
||||
return dist
|
||||
|
||||
# Parse the command line; any command-line errors are the end user's
|
||||
# fault, so turn them into SystemExit to suppress tracebacks.
|
||||
# Parse the command line and override config files; any
|
||||
# command-line errors are the end user's fault, so turn them into
|
||||
# SystemExit to suppress tracebacks.
|
||||
try:
|
||||
ok = dist.parse_command_line()
|
||||
except DistutilsArgError as msg:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue