Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 460 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 460 Bytes

Python C API Example

  • 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.