New submission from Jürgen Hermann <
Juergen.Hermann@...>:
setuptools/package_index.py throws an AttributeError in Python 2.3 due to
auth, host = urllib2.splituser(netloc)
It either needs the following monkey patch, or simply use splituser from urllib.
import urllib
import urllib2
if not hasattr(urllib2, 'splituser'):
# setuptools wants to import this from urllib2 but it's not
# in there in Python 2.3.3, so we just alias it.
urllib2.splituser = urllib.splituser
----------
messages: 441
nosy: jhe
priority: bug
status: unread
title: urllib2.splituser
_______________________________________________
Setuptools tracker <
setuptools@...>
<
http://bugs.python.org/setuptools/issue88>
_______________________________________________
_______________________________________________
Distutils-SIG maillist -
Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig