Skip to content

Cython instructions

utunga edited this page May 30, 2011 · 1 revision
  1. install cython, eg: "easy_install cython"

  2. python setup.py build_ext -i # -i is short for --inplace

Inside setup.py is code that lists hashmapd/compiled.pyx as something that needs compiling. setup.py uses Cython to convert it to compiled.c and then compiles that to compiled.so, which python can import and use.