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.
On Fri, Apr 24, 2009 at 12:49:07PM -0000, James Westby wrote: 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 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 local/lib/ python2. 6/dist- packages/ httplib2- 0.4.0-py2. 6.egg/httplib2' ]
> 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/
> > /usr/local/
> > ['/usr/
>
> 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.