[issue6555] distutils config file should have the same name on both platforms and all scopes

Tarek Ziadé report at bugs.python.org
Sun Aug 2 18:20:25 CEST 2009


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

The mac/win difference is with the starting dot because it's impossible
under windows to name a file under the directory browser UI that starts
with a ".". You have to be a power-user to do so. (pydistutils.cfg
versus .pydistutils.cfg)

Now for pydistutils.cfg  vs distutils.cfg I don't know why it's like
that. It should be "distutils.cfg" everywhere imho. Even if the global
and local one are eventually merged. I'll launch a thread about it on
distutils-sig.

Next, setup.cfg is for the current directory because this how you
operate with packages that have setup.py+setup.cfg files : you chdir in
the directory then run a distutils command.

Last, under windows, it should use os.path.expanduser('~') instead of
looking for a HOME variable. this will be fix in any case.

----------
nosy: +exarkun
priority:  -> normal
resolution:  -> accepted
type:  -> behavior
versions: +Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6555>
_______________________________________


More information about the Python-bugs-list mailing list