PyOpenGL-accelerate 3.1.9a1__tar.gz → 3.1.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/OpenGL_accelerate/__init__.py +2 -2
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PKG-INFO +6 -5
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/PKG-INFO +6 -5
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/README.md +3 -3
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/setup.cfg +2 -2
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/setup.py +1 -6
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/numpy_formathandler.pyx +4 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/vbo.pyx +4 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/MANIFEST.in +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/OpenGL_accelerate/formathandler.pxd +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/OpenGL_accelerate/wrapper.pxd +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/SOURCES.txt +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/dependency_links.txt +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/top_level.txt +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/license.txt +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/pyproject.toml +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/arraydatatype.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/buffers_formathandler.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/errorchecker.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/formathandler.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/latebind.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/nones_formathandler.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/src/wrapper.pyx +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/tests/test_arraydatatypeaccel.py +0 -0
- {pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/tests/test_numpyaccel.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyOpenGL-accelerate
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.10
|
|
4
4
|
Summary: Cython-coded accelerators for PyOpenGL
|
|
5
5
|
Home-page: http://pyopengl.sourceforge.net
|
|
6
6
|
Download-URL: http://sourceforge.net/project/showfiles.php?group_id=5988
|
|
@@ -64,6 +64,7 @@ Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
|
|
|
64
64
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
65
65
|
Classifier: Intended Audience :: Developers
|
|
66
66
|
Description-Content-Type: text/markdown
|
|
67
|
+
Dynamic: download-url
|
|
67
68
|
|
|
68
69
|
# Acceleration code for PyOpenGL
|
|
69
70
|
|
|
@@ -73,10 +74,10 @@ but performance without it will be poor.
|
|
|
73
74
|
|
|
74
75
|
## Build Process
|
|
75
76
|
|
|
76
|
-
Cython is updated frequently to support newer versions of Python. As of
|
|
77
|
-
release 3.1.9 we no longer check in the Cython generated code for the
|
|
77
|
+
Cython is updated frequently to support newer versions of Python. As of
|
|
78
|
+
release 3.1.9 we no longer check in the Cython generated code for the
|
|
78
79
|
wrapper modules, relying on the build machines to generate the wrappers.
|
|
79
80
|
|
|
80
|
-
The Github CI Pipeline should generate and release binary builds for most
|
|
81
|
+
The Github CI Pipeline should generate and release binary builds for most
|
|
81
82
|
major platforms (Windows, Linux, Mac), but if you need to build from source,
|
|
82
83
|
a `pip install .` **should** work from the PyOpenGL repository.
|
{pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyOpenGL-accelerate
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.10
|
|
4
4
|
Summary: Cython-coded accelerators for PyOpenGL
|
|
5
5
|
Home-page: http://pyopengl.sourceforge.net
|
|
6
6
|
Download-URL: http://sourceforge.net/project/showfiles.php?group_id=5988
|
|
@@ -64,6 +64,7 @@ Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
|
|
|
64
64
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
65
65
|
Classifier: Intended Audience :: Developers
|
|
66
66
|
Description-Content-Type: text/markdown
|
|
67
|
+
Dynamic: download-url
|
|
67
68
|
|
|
68
69
|
# Acceleration code for PyOpenGL
|
|
69
70
|
|
|
@@ -73,10 +74,10 @@ but performance without it will be poor.
|
|
|
73
74
|
|
|
74
75
|
## Build Process
|
|
75
76
|
|
|
76
|
-
Cython is updated frequently to support newer versions of Python. As of
|
|
77
|
-
release 3.1.9 we no longer check in the Cython generated code for the
|
|
77
|
+
Cython is updated frequently to support newer versions of Python. As of
|
|
78
|
+
release 3.1.9 we no longer check in the Cython generated code for the
|
|
78
79
|
wrapper modules, relying on the build machines to generate the wrappers.
|
|
79
80
|
|
|
80
|
-
The Github CI Pipeline should generate and release binary builds for most
|
|
81
|
+
The Github CI Pipeline should generate and release binary builds for most
|
|
81
82
|
major platforms (Windows, Linux, Mac), but if you need to build from source,
|
|
82
83
|
a `pip install .` **should** work from the PyOpenGL repository.
|
|
@@ -6,10 +6,10 @@ but performance without it will be poor.
|
|
|
6
6
|
|
|
7
7
|
## Build Process
|
|
8
8
|
|
|
9
|
-
Cython is updated frequently to support newer versions of Python. As of
|
|
10
|
-
release 3.1.9 we no longer check in the Cython generated code for the
|
|
9
|
+
Cython is updated frequently to support newer versions of Python. As of
|
|
10
|
+
release 3.1.9 we no longer check in the Cython generated code for the
|
|
11
11
|
wrapper modules, relying on the build machines to generate the wrappers.
|
|
12
12
|
|
|
13
|
-
The Github CI Pipeline should generate and release binary builds for most
|
|
13
|
+
The Github CI Pipeline should generate and release binary builds for most
|
|
14
14
|
major platforms (Windows, Linux, Mac), but if you need to build from source,
|
|
15
15
|
a `pip install .` **should** work from the PyOpenGL repository.
|
|
@@ -7,8 +7,8 @@ author_email = mcfletch@vrplumber.com
|
|
|
7
7
|
url = http://pyopengl.sourceforge.net
|
|
8
8
|
download_url = http://sourceforge.net/project/showfiles.php?group_id=5988
|
|
9
9
|
license = BSD
|
|
10
|
-
long_description = file: README.
|
|
11
|
-
long_description_content_type = text/
|
|
10
|
+
long_description = file: README.md
|
|
11
|
+
long_description_content_type = text/markdown
|
|
12
12
|
keywords = PyOpenGL, accelerate, Cython
|
|
13
13
|
platforms = Win32, Linux, OS-X, Posix
|
|
14
14
|
classifiers =
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
"""Builds accelleration functions for PyOpenGL
|
|
3
3
|
"""
|
|
4
|
-
|
|
5
4
|
import sys
|
|
6
|
-
|
|
7
|
-
if sys.version_info[:2] < (3, 12):
|
|
8
|
-
from setuptools import setup, Extension
|
|
9
|
-
else:
|
|
10
|
-
from distutils.core import setup, Extension
|
|
5
|
+
from setuptools import setup, Extension
|
|
11
6
|
|
|
12
7
|
try:
|
|
13
8
|
from Cython.Distutils import build_ext
|
|
@@ -20,6 +20,8 @@ cdef extern from "numpy/arrayobject.h":
|
|
|
20
20
|
int NPY_ARRAY_FORCECAST
|
|
21
21
|
int PyArray_ISCARRAY( np.ndarray instance )
|
|
22
22
|
int PyArray_ISCARRAY_RO( np.ndarray instance )
|
|
23
|
+
|
|
24
|
+
# cdef object PyArray_FromScalar(object scalar, np.dtype outcode)
|
|
23
25
|
cdef np.ndarray PyArray_Zeros(int nd, np.npy_intp* dims, np.dtype, int fortran)
|
|
24
26
|
cdef np.ndarray PyArray_EnsureArray(object)
|
|
25
27
|
cdef int PyArray_FillWithScalar(np.ndarray, object)
|
|
@@ -87,6 +89,8 @@ cdef class NumpyHandler(FormatHandler):
|
|
|
87
89
|
self.gl_constant_to_array = gl_to_a
|
|
88
90
|
|
|
89
91
|
cdef np.ndarray c_check_array( self, object instance ):
|
|
92
|
+
# if PyArray_CheckScalar( instance ):
|
|
93
|
+
# return PyArray_FromScalar(instance, NULL)
|
|
90
94
|
if not PyArray_Check( instance ):
|
|
91
95
|
raise TypeError(
|
|
92
96
|
"""Numpy format handler passed a non-numpy-array object %s (of type %s)"""%( instance, type(instance) ),
|
|
@@ -4,6 +4,10 @@ import ctypes, weakref
|
|
|
4
4
|
from OpenGL_accelerate.formathandler cimport FormatHandler
|
|
5
5
|
from OpenGL import error
|
|
6
6
|
from OpenGL._bytes import bytes,unicode
|
|
7
|
+
try:
|
|
8
|
+
long = long
|
|
9
|
+
except NameError as err:
|
|
10
|
+
long = int
|
|
7
11
|
|
|
8
12
|
cdef extern from "Python.h":
|
|
9
13
|
cdef void Py_XINCREF( object )
|
|
File without changes
|
{pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/OpenGL_accelerate/formathandler.pxd
RENAMED
|
File without changes
|
|
File without changes
|
{pyopengl_accelerate-3.1.9a1 → pyopengl_accelerate-3.1.10}/PyOpenGL_accelerate.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|