Ticket #30331: pymol_numpy.diff
File pymol_numpy.diff, 2.7 KB (added by howarth@…, 13 years ago) |
---|
-
contrib/pyopengl/_glumodule.c
old new 652 652 #elif defined(HAVE_EXTENSIONS_ARRAYOBJECT_H) 653 653 #include "Extensions/arrayobject.h" 654 654 #elif defined(HAVE_NUMERIC_ARRAYOBJECT_H) 655 #include " Numeric/arrayobject.h"655 #include "numpy/oldnumeric.h" 656 656 #elif defined(HAVE_NUMERICAL_ARRAYOBJECT_H) 657 657 #include "numerical/arrayobject.h" 658 658 #else -
contrib/pyopengl/_openglmodule.c
old new 93 93 #elif defined(HAVE_EXTENSIONS_ARRAYOBJECT_H) 94 94 #include "Extensions/arrayobject.h" 95 95 #elif defined(HAVE_NUMERIC_ARRAYOBJECT_H) 96 #include " Numeric/arrayobject.h"96 #include "numpy/oldnumeric.h" 97 97 #elif defined(HAVE_NUMERICAL_ARRAYOBJECT_H) 98 98 #include "numerical/arrayobject.h" 99 99 #else -
contrib/pyopengl/openglutil.h
old new 14 14 #elif defined(HAVE_EXTENSIONS_ARRAYOBJECT_H) 15 15 #include "Extensions/arrayobject.h" 16 16 #elif defined(HAVE_NUMERIC_ARRAYOBJECT_H) 17 #include " Numeric/arrayobject.h"17 #include "numpy/oldnumeric.h" 18 18 #elif defined(HAVE_NUMERICAL_ARRAYOBJECT_H) 19 19 #include "numerical/arrayobject.h" 20 20 #else -
modules/pymol/opengl/__init__.py
old new 1 ## Automatically adapted for numpy.oldnumeric Jul 09, 2010 by -c 2 1 3 # PyOpenGL: modified for usage inside of PyMOL 2 4 3 5 try: 4 import multiarray6 import numpy.oldnumeric as multiarray 5 7 _numeric = 1 6 8 except ImportError: 7 9 _numeric = 0 -
modules/pymol/opengl/gl/__init__.py
old new 1 ## Automatically adapted for numpy.oldnumeric Jul 09, 2010 by -c 2 1 3 import sys 2 4 from pymol import opengl 3 5 … … 13 15 """ 14 16 15 17 if opengl._numeric: 16 from Numeric import ArrayType18 from numpy.oldnumeric import ArrayType 17 19 try: 18 20 import _opengl_num 19 21 _opengl = _opengl_num -
modules/pymol/opengl/glu/__init__.py
old new 1 ## Automatically adapted for numpy.oldnumeric Jul 09, 2010 by -c 2 1 3 # $Id: __init__.py 336 2001-02-24 12:11:45Z wdelano $ 2 4 import sys 3 5 from pymol import opengl 4 6 5 7 if opengl._numeric: 6 from Numeric import ArrayType8 from numpy.oldnumeric import ArrayType 7 9 try: 8 10 import _glu_num 9 11 _glu = _glu_num