On Mar 16, 2010, at 9:36 AM, Jack Brown wrote: > hi, > > the "getting multiple cython packages to work together" part of the > cython's documentation is a bit lacking. so i prepared the attached > test case. it works w/o problems in cpython. (cd src/ && python > main.py) but the cython-compiled part (python setup.py build_ext && > cd build/lib.* && ./???) does not. > > i think if you get this test case to work and put it somewhere, > it'll be a nice sample project to get people started using cython > with complex projects. > > so, here are the questions: > 1) how do we set the pxd files? > 2) how should the setup.py be modified so that : > a) the main.py has python interpreter embedded > b) others are compiled as shared objects?
I'm not sure if this can be done with disutils, but you may want to see Cython freeze http://hg.cython.org/cython-devel/file/7232eb0b1cd9/Demos/freeze/README.txt - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
