Skip to content

Using ctypes.util:find_library #108

Description

@Kruayd

The current find_library implementation in scc/tools.py relies on hardcoded relative paths and os.path.exists(), which bypasses the standard OS library search paths. This causes the tests to fail in many Linux distribution build environments (like Void Linux) because the compiled binaries are placed in a temporary build directory that isn't explicitly checked by the function. Replacing this with (or implementing in it) ctypes.util:find_library would make the package more portable and compliant with Python standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions