[issue11638] python setup.py sdist crashes if version is unicode

Éric Araujo report at bugs.python.org
Tue Oct 18 18:15:53 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

David:
I don’t think packaging and pysetup generate-setup have anything to do with this bug.  You can create a setup.py file manually and see the error with distutils in 2.7.

As I said before, I agree this is a bug.  I’m working on many things right now, so if someone volunteers to write a test and possibly a fix for this, it would help.  We have examples of creating tarball sdists in Lib/distutils/tests/test_sdist.py, one would just need to copy an example and pass version=u'1.0'.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11638>
_______________________________________


More information about the Python-bugs-list mailing list