[issue12335] pysetup create will clobber an existing setup.cfg

Barry A. Warsaw report at bugs.python.org
Wed Jun 15 16:34:12 CEST 2011


Barry A. Warsaw <barry at python.org> added the comment:

On Jun 15, 2011, at 02:04 PM, Éric Araujo wrote:

>Well, create is not update :) In its current form, create will save an
>existing setup.cfg as setup.cfg.old and generate a new one.  The human
>operator will then have to merge both files if necessary.  Automatically
>merging the old file into the new one would raise issues with respect to
>comments, whitespace and all that in Pythons < 3.2.
>
>The doc and help messages are probably unclear about that.

I missed the setup.cfg.old.  I think that's fine.  Probably `create` should
print a message that it moved setup.cfg to setup.cfg.old.

----------

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


More information about the Python-bugs-list mailing list