On Thu, Sep 17, 2009 at 2:46 PM, Reinout van Rees <[email protected]> wrote:
> I have non-ascii characters in my long description (as I just fixed a bug in
> my package that had to do with non-ascii characters).  I did all the right
> things like opening my changelog and readme with "codecs.open(...,
> encoding='utf-8')" and so.  But I ran into the following setuptools problem:
>
> When calling "python setup.py --long-description", setuptools effectively does
> a "print long_description", which works with a utf8 string, but fails with a
> unicode string.
>
> When uploading to pypi, setuptools calls unicode() on my long description,
> which fails with a utf8 string and works with a unicode string.

Mmm, I've fixed that problem in Distutils code in 2.6+  IIRC

Are you sure this code is in setuptools and not in distutils ? can you
provide a traceback ?


Tarek

-- 
Tarek Ziadé | http://ziade.org | オープンソースはすごい!
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to