[vtk-developers] Some proposed additions and changes to VTK-Python.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Apr 2 13:52:50 EDT 2001


hi,

I have a few additions/changes to make to the VTK-Python stuff and
would like to know if it is okay if I commit the stuff.

  (1) I have a working GtkVtkRenderWindow class
  (GtkVtkRenderWidget.py).  I have cleaned up the code (abstracted the
  interface etc.) and dealt with all the flicker and expose event
  related problems with suitable hacks.  Can I add this to the python
  dir?  This wont affect the RPMs and debs because, the addition of a
  class does not automatically rope in dependencies.  Even if
  compileall.py were run on the code the import gtk and similar
  statements wont cause problems even if the gtk modules are not
  installed.  I just want to know if it is okay to add this file to
  the python dir.

  (2) I noticed a long while ago that the python scripts on the CVS
  tree have the first line as

  #!/usr/local/bin/python

  Not every machine has the interpreter in /usr/local/bin.  A better
  way to do this will be to have

  #!/usr/bin/env python

  Also some of the scripts dont have the right permissions.  Some
  scripts that have the #! arent executable and some others that dont
  are.  So can I run a simple perl script and change this and then
  commit the changes?


Thanks.

prabhu




More information about the vtk-developers mailing list