deffind_config_files(self):"""Find as many configuration files as should be processed for this platform, and return a list of filenames in the order in which they should be parsed. The filenames returned are guaranteed to exist (modulo nasty race conditions). There are three possible config files: distutils.cfg in the Distutils installation directory (ie. where the top-level Distutils __inst__.py file lives), a file in the user's home directory named .pydistutils.cfg on Unix and pydistutils.cfg on Windows/Mac; and setup.cfg in the current directory. The file in the user's home directory can be disabled with the --no-user-cfg option. """files=[]check_environ()# Where to look for the system-wide Distutils config filesys_dir=os.path.dirname(sys.modules['distutils'].__file__)# Look for the system config filesys_file=os.path.join(sys_dir,"distutils.cfg")ifos.path.isfile(sys_file):files.append(sys_file)# What to call the per-user config fileifos.name=='posix':user_filename=".pydistutils.cfg"else:user_filename="pydistutils.cfg"# And look for the user config fileifself.want_user_cfg:user_file=os.path.join(os.path.expanduser('~'),user_filename)ifos.path.isfile(user_file):files.append(user_file)# All platforms support local setup.cfglocal_file="setup.cfg"ifos.path.isfile(local_file):files.append(local_file)