|
| <prev next> |
Re: python bindings for syck: msg#00000text.yaml.general
Kirill Simonov wrote: > Hi John, > > On Tuesday 30 August 2005 21:07, John Pywtorak wrote: > >>Looks good, thanks. You might consider a change to setup.py that checks >>for syck.h, or libsyck. I thought I had it installed and ran python >>setup.py build and sure enough syck.h was missing. This would save the >>user having to read through the errors produced by gcc. > > > Ok, I'll do it if I figure out how to do it. distutils does not have > something > like AC_CHECK_HEADERS, does it? > Maybe why would consider adding a pkg-config .pc file to his source distribution of syck. Some libraries are starting to support pkg-config which makes checking the install of a lib easy. pkg-config --exists libwhatever The pc file is fairly small text file and I think auto genterated, maybe. I am rather new to it, so that is as much as I know. libstatgrab and pylibstatgrab use this method. The other way I have seen setup.py do it is by using file system checks. Is the file header.h in /usr/include, or /usr/local/include etc. Johnny P ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Next by Date: | perl transformation module: 00000, Hugo Cornelis |
|---|---|
| Next by Thread: | perl transformation module: 00000, Hugo Cornelis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |