Commits
Joshua Root authored 822785b54b2
1 - | --- setup.py 2014-06-27 09:47:37.000000000 -0500 |
2 - | +++ setup.py 2018-07-17 20:31:51.000000000 -0500 |
3 - | |
4 - | |
5 - | version = None |
6 - | # get version from __init__.py |
7 - | -for line in open( os.path.join( HERE,'__init__.py') ): |
8 - | +for line in open( os.path.join( HERE,'OpenGL_accelerate','__init__.py') ): |
9 - | if line.startswith( '__version__' ): |
10 - | version = eval(line.split( '=' )[1].strip()) |
11 - | assert version, """Couldn't determine version string!""" |
12 - | |
13 - | }, |
14 - | }, |
15 - | package_dir = { |
16 - | - 'OpenGL_accelerate':'.', |
17 - | + 'OpenGL_accelerate':'OpenGL_accelerate', |
18 - | }, |
19 - | ext_modules=extensions, |
20 - | **extraArguments |
21 - | --- OpenGL_accelerate/__init__.py 1969-12-31 18:00:00.000000000 -0600 |
22 - | +++ OpenGL_accelerate/__init__.py 2018-07-17 20:31:51.000000000 -0500 |
23 - | |
24 - | +"""Cython-coded accelerators for the PyOpenGL wrapper |
25 - | + |
26 - | +This package contains Cython accelerator modules which |
27 - | +attempt to speed up certain aspects of the PyOpenGL 3.x |
28 - | +wrapper mechanism. The source code is part of the |
29 - | +PyOpenGL package and is built via the setupaccel.py |
30 - | +script in the top level of the PyOpenGL source package. |
31 - | +""" |
32 - | +__version__ = '3.1.0' |
33 - | +__version_tuple__ = (3,1,0) |
34 - | --- OpenGL_accelerate/formathandler.pxd 1969-12-31 18:00:00.000000000 -0600 |
35 - | +++ OpenGL_accelerate/formathandler.pxd 2018-07-17 20:31:51.000000000 -0500 |
36 - | |
37 - | +"""Cython import description for formathandler types""" |
38 - | + |
39 - | +cdef class FormatHandler: |
40 - | + cdef public int ERROR_ON_COPY |
41 - | + cdef object c_from_param( self, object instance, object typeCode) |
42 - | + cdef object c_dataPointer( self, object instance ) |
43 - | + cdef c_zeros( self, object dims, object typeCode ) |
44 - | + cdef c_arraySize( self, object instance, object typeCode ) |
45 - | + cdef c_arrayByteCount( self, object instance ) |
46 - | + cdef c_arrayToGLType( self, object value ) |
47 - | + cdef c_asArray( self, object instance, object typeCode) |
48 - | + cdef c_unitSize( self, object instance, typeCode ) |
49 - | + cdef c_dimensions( self, object instance) |
50 - | --- OpenGL_accelerate/wrapper.pxd 1969-12-31 18:00:00.000000000 -0600 |
51 - | +++ OpenGL_accelerate/wrapper.pxd 2018-07-17 20:31:51.000000000 -0500 |
52 - | |
53 - | +"""Importable Cython declarations for wrapper module""" |
54 - | +cdef class cArgConverter: |
55 - | + cdef object c_call( self, tuple pyArgs, int index, object baseOperation ) |
56 - | +cdef class pyArgConverter: |
57 - | + cdef object c_call( self, object incoming, object function, tuple arguments ) |
58 - | +cdef class cArgumentConverter: |
59 - | + cdef object c_call( self, object incoming ) |
60 - | +cdef class returnConverter: |
61 - | + cdef object c_call( self, object result, object baseOperation, tuple pyArgs, tuple cArgs ) |