/usr/share/pyshared/OpenGL/arrays/numericnames.py is in python-opengl 3.0.1~b2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | """Module to provide numeric-module name for current version"""
def moduleName( module ):
"""Given a numpy, numeric or numarray module, calculate helper module name"""
name = module.__name__.lower()
version = '_'.join( module.__version__.split('.'))
return 'OpenGL.arrays._%(name)s_%(version)s'%locals()
def loadModule( name ):
"""Load the current C module for our numeric version"""
return __import__( name, {}, {}, name.split( '.' ))
|