cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PyCurl module

From: Christopher Warner <cwarner_at_kernelcode.com>
Date: Mon, 15 Mar 2010 19:06:35 -0400

Currently the python curl module looks for a static copy of the curl library
in /usr/lib on OSX. Specifically for 10.6.2 using Python 2.6.1.

Taking a look at setup.py I see the following at 99-101:

    libs = split_quoted(

        os.popen("'%s' --libs" % CURL_CONFIG).read()+\

        os.popen("'%s' --static-libs" % CURL_CONFIG).read())

Is there any reason for this and if not can the dependency on a static lib
be removed? It seems this was brought up about two years ago but nothing has
been done about it and performing a *python setup.py install* using pycurl
fails on this platform. Part of the problem it seems is that
/usr/bin/curl-config as built by Apple is referring to that static lib and
it simply doesn't exist. I'll try and report there as well.

Thanks,
Christopher Warner

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-16