Skip to content

From ctypes of libcgmic to a true C++ binding #2

@myselfhimself

Description

@myselfhimself

This is a just an issue to help me work on the next step:

  • we currently have basic pytests passing for python2 and python3 in the Github Actions CI, they rely on a ctypes dynamic loading of a live built libcgmic.so library embedding libgmic. The code is ugly but working. This is acceptable at this POC state.
  • we now want to create a python/c++ binding fulfilling the same test suite, in two variants which do not rely on libcgmic anymore:
    • python .py/.so module relying on libgmic.so
    • same embedding libgmic.so statically.

Inspiration for this binding: https://docs.microsoft.com/en-us/visualstudio/python/working-with-c-cpp-python-in-visual-studio?view=vs-2019
A gut feeling tells me I do not want to use any generator like SWIG..

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions