Comment 11 for bug 358004

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

On Fri, Apr 24, 2009 at 12:49:07PM -0000, James Westby wrote:
> On Fri, 2009-04-24 at 12:16 +0000, Björn Tillenius wrote:
> > > python -c 'import httplib2; print httplib2.__path__'
> >
> > ixia:~> python -c 'import httplib2; print httplib2.__path__'
> > /usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2/__init__.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead
> > /usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2/__init__.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
> > ['/usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2']
>
> That's odd.
>
> Was this installed by setuptools at some point?

Yes, it was.

> If you remove the egg and use the packaged version then you
> won't have this issue.

Right. It's still an issue that installing via setuptools doesn't work.
The reason I installed via setuptools was that the latest launchpadlib
bzr revision wasn't available as a package.