wheel icon indicating copy to clipboard operation
wheel copied to clipboard

`[default: ]` vs. `(default: )`

Open DimitriPapadopoulos opened this issue 1 year ago • 3 comments

Is there a reason why default values of user options are sometimes displayed inside brackets [] (3 occurrences): https://github.com/pypa/wheel/blob/376373b9690e746c36e3984808759e9c32d5e014/src/wheel/bdist_wheel.py#L200 but most often inside parentheses () (6 occurrences): https://github.com/pypa/wheel/blob/376373b9690e746c36e3984808759e9c32d5e014/src/wheel/bdist_wheel.py#L195

DimitriPapadopoulos avatar May 08 '24 09:05 DimitriPapadopoulos

See also https://github.com/pypa/distutils/issues/251, since class Command is defined in distutils.

DimitriPapadopoulos avatar May 08 '24 11:05 DimitriPapadopoulos

All this lives in setputools now. This is just a CLI tool. Feel free to ask there, it might be easier to unify now that it's all in one spot.

henryiii avatar Jun 15 '24 15:06 henryiii

See https://github.com/pypa/setuptools/issues/4421.

DimitriPapadopoulos avatar Jun 17 '24 14:06 DimitriPapadopoulos