/usr/share/pyshared/tvtk/vtk_module.py is in mayavi2 4.1.0-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 10 11 12 13 14 15 16 17 18 19 20 | """Abstracts all VTK related modules into one module. This makes it trivial to
support local VTK classes that a user may have built.
By default it imports all of VTK and then looks for a tvtk_local module and
imports everything from that. In order to add local classes to the TVTK build
one may simply provide a tvtk_local.py module somewhere with any classes that
need to be wrapped.
"""
# Author: Prabhu Ramachandran <prabhu [at] aero.iitb.ac.in>
# Copyright (c) 2007, Enthought, Inc.
# License: BSD Style.
from vtk import *
try:
from tvtk_local import *
except ImportError:
pass
|