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 tarek
Recipients loewis, tarek
Date 2008-04-06.14:41:29
SpamBayes Score 0.0098991
Marked as misclassified No
Message-id <>
oh, hold one, it is more complicated in fact :)

setuptools calls DistributionMetadata.dist.write_pkg_file()
method to write the .egg-info file.

This method make the assertion that the metadata fields are string
so it is not setuptools fault.

This code fail the same way:

dist = Distribution(attrs={'author': u'Mister Café'})

So I guess the patch needs to be done in
distutils.dist.DistributionMetadata, so it checks upon
the type of field before it runs:

file.write('Author: %s\n' % self.get_contact() ) 

That what I meant when I said that distutils should
decide wheter it works with unicode or str for this fields.

I can re-write a new patch if you agree on this
Date User Action Args
2008-04-06 14:41:31tareksetspambayes_score: 0.0098991 -> 0.0098991
recipients: + tarek, loewis
2008-04-06 14:41:31tareksetspambayes_score: 0.0098991 -> 0.0098991
messageid: <>
2008-04-06 14:41:30tareklinkissue2562 messages
2008-04-06 14:41:29tarekcreate