kitao / pyxel

A retro game engine for Python
MIT License
15.31k stars 847 forks source link

Pyxel doesn't work with the latest Maturin (> 1.7.0) #574

Open kitao opened 1 month ago

kitao commented 1 month ago

I tried compiling Pyxel with Maturin 1.7.1+.

I changed an option in Pyxel's makefile from --skip-auditwheel to --auditwheel skip and then the compilation finished. But when run an application, the following error occurs:

    pyxel.init(300, 300, title="hoge")
    ^^^^^^^^^^
AttributeError: module 'pyxel' has no attribute 'init'

@messense Is there any other setting I should change?

messense commented 1 month ago

Could you open an issue in pyo3/maturin so I don't forget this? I'll take a look later when I'm free.