[CMake] More distutils-ish FindPythonLibs.cmake?

Brad King brad.king at kitware.com
Mon Jan 16 09:13:11 EST 2006


Zachary Pincus wrote:
> I've been playing with using Python itself within a CMake file to  look 
> up include directories for python extensions. (e.g. query the  Numeric 
> module within python to find the Numeric C header file's  location.)
> 
> It occurred to me that this might be a better way for  
> FindPythonLibs.cmake to work too.
[snip]
> Is this worth pursuing? I could try to work up a patch if anyone  thinks 
> this is valuable.

There is a bug report suggesting a better way to find Python already:

   http://www.cmake.org/Bug/bug.php?op=show&bugid=2257&pos=0

but no one has taken the time to implement it.  If you are working on a 
better FindPythonLibs please look at this link for suggestions.

Thanks,
-Brad


More information about the CMake mailing list