Hi, I've been reading the cython documentation and I've some doubts about it.
For example I coded a pyx file named test that calls a C++ implementation of the test (ctest.cpp and ctest.h), and then, after writing the setup.py, I compiled with : ~$ cython test.pyx after getting the test.c: ~$ g++ -c -fPIC -I/usr/include/python2.5/ test.c I used g++ cause gcc sends an error refered to the c++implementation. And finally after that I typed: ~$ g++ -shared test.o test.so The question comes now. I want to call that "Cython" code from Python. But when I write import test the .so is not recognized by the Eclipse. I'm using Pydev, ¿WHAT THE HELL I'M MISSING HERE? I text the whole process because I'm not sure that I did the correct things. Thanks, Marco
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
