mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Revert r62998 as it broke the build (seems distutils.config is missing).
This commit is contained in:
parent
844f757aae
commit
10f5db6424
9 changed files with 84 additions and 158 deletions
|
|
@ -343,9 +343,10 @@ Common commands: (see '--help-commands' for more)
|
|||
user_filename = "pydistutils.cfg"
|
||||
|
||||
# And look for the user config file
|
||||
user_file = os.path.join(os.path.expanduser('~'), user_filename)
|
||||
if os.path.isfile(user_file):
|
||||
files.append(user_file)
|
||||
if 'HOME' in os.environ:
|
||||
user_file = os.path.join(os.environ.get('HOME'), user_filename)
|
||||
if os.path.isfile(user_file):
|
||||
files.append(user_file)
|
||||
|
||||
# All platforms support local setup.cfg
|
||||
local_file = "setup.cfg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue