On 4/23/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
>
> Argh. setuptools.package_index isn't HTML-unquoting URLs. That needs to
> be fixed. :(
>
>
I'm not sure if this is the best way to go about it, I couldn't find
anything in the stdlib
to unencode it, but this works:
--- setuptools/package_index.py (revision 54927)
+++ setuptools/package_index.py (working copy)
@@ -385,6 +385,7 @@
of `tmpdir`, and the local filename is returned. Various errors may be
raised if a problem occurs during downloading.
"""
+ spec = spec.replace("@", "@")
if not isinstance(spec,Requirement):
scheme = URL_SCHEME(spec)
if scheme:
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig