-
First build the C extension
-
To build to the local project
python setup.py build
Copy the shared library to the root directory.
-
To distribute as a global module
python setup.py install
-
-
Then run using the python interpreter
python native.py
All the code is available in the documentation.