pyopengl
pyopengl copied to clipboard
Accelerate module: `.pxd` files not shipped with source package (3.1.1a1)
In the source package of the accelerate module from PyPi, the .pxd and __init__.py files under the OpenGL_accelerate directory are not included. This means that regenerating the *.c files from *.pyx files using Cython fails:
cythoning src/arraydatatype.pyx to src/arraydatatype.c
Error compiling Cython file:
------------------------------------------------------------
...
"""Cython-coded Array-handling accelerator module"""
import ctypes
import OpenGL
from OpenGL._null import NULL as _NULL
from OpenGL import plugins
from OpenGL_accelerate.wrapper cimport cArgConverter, pyArgConverter, returnConverter
^
------------------------------------------------------------
src/arraydatatype.pyx:6:0: 'OpenGL_accelerate/wrapper.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
Regenerating the *.c files from the *.pyx is necessary for more recent Python 3.7, and in any case is good practice when building distribution packages (I am the Fedora packager for PyOpenGL).
Could you include those source files in the source packages?