Installing couchapp with easy_install -> httplib2 problem

5 views
Skip to first unread message

Andy Wenk

unread,
May 25, 2009, 4:16:04 AM5/25/09
to CouchApp
Hi,

I was asking Benoit what could have been going wrong while installing
couchapp. Now I think this is relevant for the list ...

> Hi Benoit,
> >
> > i just installed couchapp with easy_install (on a total fresh machine):
> >
> > $ easy_install couchapp
> >
> > I received the following:
> > Searching for couchapp
> > Reading http://pypi.python.org/simple/couchapp/
> > Reading http://github.com/benoitc/couchapp/tree/master
> > Best match: Couchapp 0.2
> > Downloading
> > http://pypi.python.org/packages/source/C/Couchapp/Couchapp-0.2.tar.gz#md5=78ba05653a699618a12f2927f17a9175
> > Processing Couchapp-0.2.tar.gz
> > Running Couchapp-0.2/setup.py -q bdist_egg --dist-dir
> > /tmp/easy_install-_JuxkD/Couchapp-0.2/egg-dist-tmp-ISrpzn
> > Adding Couchapp 0.2 to easy-install.pth file
> > Installing couchapp script to /usr/local/bin
> >
> > Installed /usr/local/lib/python2.6/dist-packages/Couchapp-0.2-py2.6.egg
> > Processing dependencies for couchapp
> > Finished processing dependencies for couchapp
> > /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
> >
> > Any idea what the problem is? Sure I see that I should use hashlib instead
> > of sha. But how can I avoid this? Are there new requirements?
> >
> > Thanks in advance and please see alos my mail to the couchapp google list
> > ... ;-)
> >
> > Cheers
> >
> > Andy
> >
>
> You have to use the trunk of httplib2 to remove this deprecated
> message. My patch
> (http://code.google.com/p/httplib2/source/detail?r=275) was merged
> sometimes ago but joe gregorio didn't release a new version yet.
>
> - benoît

Do you think we should mention this in the manual as well?

Cheers

Andy
Reply all
Reply to author
Forward
0 new messages