Milksnake is not maintained anymore and using it seems problematic at least with pyproject.toml: NatLibFi#7
Alternatives seem to be switch to setuptools-rust or Maturin. Maturin seems more widely used, but on my AI-assisted attempt to switch to Maturin Qwen3 actually pushed back and stated
maturin is primarily designed for PyO3-based projects. Your project uses CFFI for Python bindings (loading a C shared library via ffi.dlopen()). For maturin to work with CFFI, we'd need to load the bundled .so/.dylib at runtime rather than as a CFFI extension module. Alternatively, setuptools-rust would be a more natural fit since it integrates with your existing setuptools + CFFI setup. Would you like me to proceed with maturin + CFFI runtime loading, or would you prefer setuptools-rust as a more seamless modernization?
So maybe it would be better to use setuptools-rust instead.
Milksnake is not maintained anymore and using it seems problematic at least with pyproject.toml: NatLibFi#7
Alternatives seem to be switch to setuptools-rust or Maturin. Maturin seems more widely used, but on my AI-assisted attempt to switch to Maturin Qwen3 actually pushed back and stated
So maybe it would be better to use setuptools-rust instead.