Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Missing working example for ctypes dll building #20

@mkielg11

Description

@mkielg11

Hello

I am trying to make a minimum working example of automatic building of a standard c-code library for import with ctypes, as per this post stack-overflow post: https://stackoverflow.com/questions/62388018/installing-pure-c-library-for-python-package
Someone suggested this package, and I have been trying to make it work, as per this branch: https://github.com/mkielg11/ctypes_distribution/tree/fix-using-setuptoolsdso

However, I have two issues:

  1. The build .so/.dll does not seem to be working with ctypes when loading the library
  2. The build .so/.dll is not included when installing the package using pip

I though maybe you could help making a viable example of how to use your package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions