This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients berker.peksag, eric.araujo, pitrou, serhiy.storchaka, tarek, vstinner
Date 2015-04-08.06:15:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428473731.15.0.997360561112.issue19610@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2015-04-08 06:15:31berker.peksagsetrecipients: + berker.peksag, pitrou, vstinner, tarek, eric.araujo, serhiy.storchaka
2015-04-08 06:15:31berker.peksagsetmessageid: <1428473731.15.0.997360561112.issue19610@psf.upfronthosting.co.za>
2015-04-08 06:15:31berker.peksaglinkissue19610 messages
2015-04-08 06:15:30berker.peksagcreate