Skip to content

Commit

Permalink
Remove Numeric support
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfletch committed Jul 11, 2013
1 parent fb58787 commit 6705b15
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 291 deletions.
4 changes: 0 additions & 4 deletions OpenGL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
testing stages to prevent raising errors on
recoverable conditions at run-time.
Note: this feature does not currently work with
numarray or Numeric arrays.
Default: False
CONTEXT_CHECKING -- if set to True, PyOpenGL will wrap
Expand Down Expand Up @@ -225,6 +222,5 @@
)
FormatHandler( 'ctypespointer', 'OpenGL.arrays.ctypespointers.CtypesPointerHandler' )
FormatHandler( 'numpy', 'OpenGL.arrays.numpymodule.NumpyHandler', ['numpy.ndarray'] )
FormatHandler( 'numeric', 'OpenGL.arrays.numeric.NumericHandler', )
FormatHandler( 'vbo', 'OpenGL.arrays.vbo.VBOHandler', ['OpenGL.arrays.vbo.VBO','OpenGL_accelerate.vbo.VBO'] )
FormatHandler( 'vbooffset', 'OpenGL.arrays.vbo.VBOOffsetHandler', ['OpenGL.arrays.vbo.VBOOffset','OpenGL_accelerate.vbo.VBOOffset'] )
26 changes: 0 additions & 26 deletions OpenGL/arrays/_numeric.py

This file was deleted.

127 changes: 0 additions & 127 deletions OpenGL/arrays/numeric.py

This file was deleted.

58 changes: 0 additions & 58 deletions OpenGL_accelerate/src/_arrays.c

This file was deleted.

41 changes: 0 additions & 41 deletions OpenGL_accelerate/src/_numarrayarrays.c

This file was deleted.

3 changes: 1 addition & 2 deletions documentation/pydoc/builddocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def isbuiltin( obj ):

if __name__ == "__main__":
excludes = [
"Numeric",
"numpy",
"_tkinter",
"Tkinter",
Expand All @@ -45,4 +44,4 @@ def isbuiltin( obj ):
exclusions = excludes,
recursionStops = stops,
).process ()


37 changes: 4 additions & 33 deletions documentation/using.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ <h2><a name="Performance"></a>Performance Tips for Python + OpenGL</h2>

<p>Array based geometry uses OpenGL 1.1 features (supported almost
everywhere) that allow for passing large arrays of data to be processed
with a single call. &nbsp;Using numpy (or Numeric) arrays, you can
with a single call. &nbsp;Using numpy arrays, you can
readily pass your data into those functions without any need for
Python-level iteration. &nbsp;This is the more flexible of the two
approaches, as it allows for readily mutating the data being rendered
Expand Down Expand Up @@ -750,37 +750,8 @@ <h2><a name="upgrading"></a>Upgrading</h2>
<li>setuptools required</li><ul><li>You *must* run
setuptools installation in order to register the egg entry points, if
you do not you will have *no* data formats supported and nothing will
work at all</li></ul><li>numpy versus Numeric</li>










<ul>





<li>PyOpenGL 2.x used (only) the older "Numeric" module.
&nbsp;PyOpenGL 3.x can use Numeric (with an optional C extension), but
uses numpy by default.</li>










</ul><li>strings deprecated as array return-types for all save image data</li><ul><li>PyOpenGL
work at all</li></ul>
<li>strings deprecated as array return-types for all save image data</li><ul><li>PyOpenGL
2.x would normally return your GL_UNSIGNED_BYTE data as strings.
&nbsp;We continue to support this for image operations (glGetTexImage,
glReadPixels), but we provide a way to turn off the behaviour and
Expand Down Expand Up @@ -888,4 +859,4 @@ <h2><a name="upgrading"></a>Upgrading</h2>



</body></html>
</body></html>

0 comments on commit 6705b15

Please sign in to comment.