HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

Python 3.7 install fails due to Cython-generated cpp file in sdist #10

Closed skogler closed 6 years ago

skogler commented 6 years ago

Unfortunately, the PyPi package contains a file named decrunch.cpp. he problem is that this file was generated with an old version of Cython which generates code incompatible with Python 3.7.

If I remove decrunch.cpp, I can install the package as usual.

Maybe the solution is to just regenerate the file with a new Cython version.

To be precise, the error when installing is the following:

decrunch.cpp:3561:69: error: too many arguments to function
       return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
                                                                       ^
  error: command 'gcc' failed with exit status 1
jleclanche commented 6 years ago

Fixed in 0.3.1