2013/3/8 Kevin Kunzmann <kevinkunzm...@gmx.net>:
> However cython is giving me a really hard time here. I tried recompiling
> only the local changes (_tree.pyx -> _tree.c) and that is working as
> long as I do not change the C-signature of any classes defined in
> _tree.pxd (ValueError: ***, try recompiling).
> However I need to do that (a visitor class would be great!).
>
> So what is the correct way of editing the extension classes? Where do I
> get a working setup script from?

We don't call Cython from setup scripts; your initial approach is the
one we use (re-Cythonize whenever you've made an edit). You have to
keep the .pyx and .pxd in sync for Cython to work.

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to