Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Conversation

@shinaoka
Copy link
Member

@shinaoka shinaoka commented Nov 6, 2025

  • Make uv and clang REQUIRED for Python package build
  • Auto-generate ctypes_autogen.py during CMake build process
  • Improve gen_ctypes.py to correctly recognize int64_t and c_complex types
  • Fix c_double_complex type consistency between core.py and ctypes_autogen.py
  • Update test files to use c_double_complex for complex C-API functions
  • Add AGENTS.md documentation for Python interface build process

The ctypes bindings are now automatically generated before building the library, ensuring they are always up-to-date with the C-API header.

- Make uv and clang REQUIRED for Python package build
- Auto-generate ctypes_autogen.py during CMake build process
- Improve gen_ctypes.py to correctly recognize int64_t and c_complex types
- Fix c_double_complex type consistency between core.py and ctypes_autogen.py
- Update test files to use c_double_complex for complex C-API functions
- Add AGENTS.md documentation for Python interface build process

The ctypes bindings are now automatically generated before building the
library, ensuring they are always up-to-date with the C-API header.
@shinaoka shinaoka linked an issue Nov 6, 2025 that may be closed by this pull request
@shinaoka shinaoka enabled auto-merge (squash) November 6, 2025 23:22
@shinaoka shinaoka merged commit 59fb540 into main Nov 7, 2025
8 of 14 checks passed
@shinaoka shinaoka deleted the 474-update-python-wrapper branch November 7, 2025 05:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Python wrapper

2 participants