--- setup.py 2014-06-27 09:47:37.000000000 -0500
+++ setup.py 2018-07-17 20:31:51.000000000 -0500
# get version from __init__.py
-for line in open( os.path.join( HERE,'__init__.py') ):
+for line in open( os.path.join( HERE,'OpenGL_accelerate','__init__.py') ):
if line.startswith( '__version__' ):
version = eval(line.split( '=' )[1].strip())
assert version, """Couldn't determine version string!"""
- 'OpenGL_accelerate':'.',
+ 'OpenGL_accelerate':'OpenGL_accelerate',
--- OpenGL_accelerate/__init__.py 1969-12-31 18:00:00.000000000 -0600
+++ OpenGL_accelerate/__init__.py 2018-07-17 20:31:51.000000000 -0500
+"""Cython-coded accelerators for the PyOpenGL wrapper
+This package contains Cython accelerator modules which
+attempt to speed up certain aspects of the PyOpenGL 3.x
+wrapper mechanism. The source code is part of the
+PyOpenGL package and is built via the setupaccel.py
+script in the top level of the PyOpenGL source package.
+__version_tuple__ = (3,1,0)
--- OpenGL_accelerate/formathandler.pxd 1969-12-31 18:00:00.000000000 -0600
+++ OpenGL_accelerate/formathandler.pxd 2018-07-17 20:31:51.000000000 -0500
+"""Cython import description for formathandler types"""
+cdef class FormatHandler:
+ cdef public int ERROR_ON_COPY
+ cdef object c_from_param( self, object instance, object typeCode)
+ cdef object c_dataPointer( self, object instance )
+ cdef c_zeros( self, object dims, object typeCode )
+ cdef c_arraySize( self, object instance, object typeCode )
+ cdef c_arrayByteCount( self, object instance )
+ cdef c_arrayToGLType( self, object value )
+ cdef c_asArray( self, object instance, object typeCode)
+ cdef c_unitSize( self, object instance, typeCode )
+ cdef c_dimensions( self, object instance)
--- OpenGL_accelerate/wrapper.pxd 1969-12-31 18:00:00.000000000 -0600
+++ OpenGL_accelerate/wrapper.pxd 2018-07-17 20:31:51.000000000 -0500
+"""Importable Cython declarations for wrapper module"""
+cdef class cArgConverter:
+ cdef object c_call( self, tuple pyArgs, int index, object baseOperation )
+cdef class pyArgConverter:
+ cdef object c_call( self, object incoming, object function, tuple arguments )
+cdef class cArgumentConverter:
+ cdef object c_call( self, object incoming )
+cdef class returnConverter:
+ cdef object c_call( self, object result, object baseOperation, tuple pyArgs, tuple cArgs )