Cython Homepage: http://cython.org/

notmm 0.4-current uses Cython to compile the notmm.controllers.wsgi extension in shared library named wsgi.so.

Here is the results of the compilation with gcc:

gthc:~/repos/notmm/branches/0.4-current$ python ./setup.py build_ext -i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.6 -c lib/notmm/controllers/wsgi.c -o build/temp.linux-i686-2.6/lib/notmm/controllers/wsgi.o
lib/notmm/controllers/wsgi.c:1160: warning: '__pyx_doc_5notmm_11controllers_4wsgi_14BaseController___init__' defined but not used
gcc -pthread -shared build/temp.linux-i686-2.6/lib/notmm/controllers/wsgi.o -o build/lib.linux-i686-2.6/notmm/controllers/wsgi.so
gthc:~/repos/notmm/branches/0.4-current$ python
Python 2.6.4 (r264:75706, Feb 19 2010, 22:42:19) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import notmm.controllers.wsgi as wsgi
>>> wsgi
<module 'notmm.controllers.wsgi' from '/home/erob/repos/notmm/branches/0.4-current/lib/notmm/controllers/wsgi.so'>

See also: LLVM

just another Wiki: Cython (last edited 2010-06-19 16:19:18 by EtienneRobillard)