Thanks for the review, Éric. New patch attached.
> When running a setup.py that uses a tuple for classifiers, is the error message in the terminal user-friendly, or do we get a full traceback?
A full traceback:
Traceback (most recent call last):
File "setup.py", line 37, in <module>
platforms=('Windows', 'Any'),
File "/home/berker/projects/cpython/default/Lib/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/home/berker/projects/cpython/default/Lib/distutils/dist.py", line 253, in __init__
getattr(self.metadata, "set_" + key)(val)
File "/home/berker/projects/cpython/default/Lib/distutils/dist.py", line 1212, in set_platforms
raise TypeError(msg % type(value).__name__)
TypeError: 'platforms' should be a 'list', not 'tuple' |