Message356088
The command 'alias' rewrites the configuration file completely when a new alias is added. The default file is 'setup.cfg'. All comments of the original file are stripped off before, though the new 'setup.cfg' does not contain any comments.
The comments should be kept literally, just the section '[aliases]' should be modified.
The comments in the section '[aliases]' should be basically kept, even though a manual modification by the user could cause problems e.g. in case of deleting an alias by the 'setup.py alias' command.
Anyhow, at least the only section modified should - must - be the '[aliases]' section.
Even though this involves 'setuptools', I write this issue here because of the tight coupling of 'distutils' and 'setuptools' e.g. by the passed 'self' parameter.
I have tested 3.8.0, but as far as I can see this is the case for all releases. |
|
Date |
User |
Action |
Args |
2019-11-06 03:49:12 | acue | set | recipients:
+ acue, eric.araujo, dstufft |
2019-11-06 03:49:12 | acue | set | messageid: <1573012152.1.0.450153006571.issue38709@roundup.psfhosted.org> |
2019-11-06 03:49:12 | acue | link | issue38709 messages |
2019-11-06 03:49:11 | acue | create | |
|