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

David Gobbi dgobbi at irus.rri.on.ca
Mon Apr 2 14:35:04 EDT 2001


Hi Prabhu,

I'm fine with both of these.  Perhaps, though,
GtkVtkRenderWindow.py should be renamed to
vtkGTKRenderWindow.py to fit better with the
VTK naming conventions.

 - David

On Mon, 2 Apr 2001, Prabhu Ramachandran wrote:

> 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
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
>





More information about the vtk-developers mailing list