[Cython] bug when using the built-in fused type cython.numeric

2012-05-23 Thread Jonathan De Wachter
It must probably be a known bug since the minimal code that reproduces this
bug can be anything using the built-in type cython.numeric.

cimport cython

cdef class Foo:
 cdef cython.numeric bar

Cython version: 0.16 (last release)

I didn't find this bug in the bug trackers that's why I'm mailing you. By
the way, it's the first time I'm using a mail list, if I'm doing wrong,
please let me know.
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


[Cython] Generate headers in a given directory ?

2013-01-08 Thread Jonathan De Wachter
Is there a way to tell Cython to generate headers (*_api.h, *.h) in a given
directory ?

For example, my project structure is as follow:

myproject/
   --include/
   --src/

And I'd like my extensions located in src/ to generate their headers in
include/.

myproject/
   --include/
   - mymodule_api.h
   - mymodule.h
   --src/
   - mymodule.pyx

Thanks :)
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel