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:
Andrew Kuchling 2013-11-10 18:11:00 -05:00
parent ce4179d022
commit 2a1838b9df
5 changed files with 68 additions and 8 deletions

View file

@ -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: