-
- Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Originally reported by: rbtcollins (Bitbucket: rbtcollins, GitHub: rbtcollins)
In setuptools/package_index.py
line 1040 in local_open()
files.append("%s" % (f,f))
If f is a unicode string the resulting text is:
[u"<a href=u'testbuilder-1.0.tar.gz'>testbuilder-1.0.tar.gz"]
note the href=u in the HTML, which is not valid - this leads to output like the following:
Reading file:///tmp/tmpBGlO4q/testbuilder/
Reading file:///tmp/tmpBGlO4q/testbuilder/u
No local packages or download links found for testbuilder
Using ..."%s"... in the format string should fix this - I'm not 100% sure why filename is ending up unicode for me, but there it is