[Numpy-discussion] access ndarray in C++

Matthieu Brucher matthieu.brucher@gmail....
Wed Apr 23 04:43:01 CDT 2008


>
> the compiler, the compiler flags, the linker, the linker flags, the
> location of Python.h, etc...
>
>
> > With a simple extension builder, we didn't encountered any bug
> > although we have a fair number of extensions.
>
>
> Building a helloworld like extension or say numpy.core is kind of the
> same from a build point of view. The problem really is to work in many
> different configurations (for example supporting building python
> extensions for a different python than the one running scons), on
> different platforms.



Indeed, if you want a different python, a more complex builder has to be
written, I agree ;)

Matthieu

Waf (a project which started as a fork of scons and is now a totally
> different project for all purpose) has a python tool, and it is 300
> lines of code:
>
> http://code.google.com/p/waf/source/browse/trunk/wafadmin/Tools/python.py
>
> And it has more support for this kind of things than scons. My current
> work for a python extension for scons is ~ 200 lines, not including unit
> tests.
>
>
> cheers,
>
> David
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080423/a84e985e/attachment.html 


More information about the Numpy-discussion mailing list