Qua, 2004-09-29 �s 12:27 +0200, Murray Cumming escreveu:
> So, it looks like the GNOME community would like to allow the use of
> python and python bindings in GNOME Desktop modules. Well done.
> 
> But I think there need to be some rules about this. I'm not sure whether
> these should be part of the GNOME release team documentaton, or part of
> the pytgtk documenatation that we could link to.

  I suggest that we come up with a PyGnomeHello sample application in
python, but using autotools, gnome autogen, etc.  A "Best Current
Practices" program, to serve as example.  Probably we can come up with a
document too, explaining how to do python gnome integration.

> 
> I'm not a python coder so feel free to correct me, but I suggest:
> 
> 1. GNOME Desktop modules should use the #! technique to specify a
> particular version of python, to avoid breaking the application when a new
> incompatible version of python is installed. For instance:
> #!/usr/bin/python-2.3

I think it would be more correct:
  #! /usr/bin/env python2.3

  An alternative would be to make configure check AM_PATH_PROG
(python2.3), and sed replace the first line of the program script
frontend with the correct path.  So if the user installs python 2.3
in /usr/local, the installed python program packages still
use /usr/bin/python2.3.

  This sort of decisions should be discussed and standardised.

> Distributers of binary packages must, of course, adjust the prefix in this
> path if necessary.
> 
> 2. The GNOME Desktop should use only one major version of python, such as
> 2.2 or 2.3, but not both. Which version to use, and when to start using a
> newer one, should be agreed among the maintainers.

  Fine.

> 
> 3. The GNOME Desktop should use only python bindings that are in the GNOME
> Bindings release, because those bindings offer API stability, and a
> reliable  release schedule. There might be exceptions to this [1], but
> this should be avoided for commonly-used bindings, and these extra modules
> would then need to be approved as part of the GNOME Desktop instead of the
> GNOME Bindings.

  I hope you mean "The GNOME Desktop should use only python bindings _of
GNOME libraries_ that are in the GNOME Bindings release".  Because
applications may wish to use python bindings for external libraries,
just like GNOME C applications are allowed to use non-GNOME libraries
too, as long as there is no GNOME library providing similar
functionality.

  Also, I think this places an extra importance on the future inclusion
of gnome-python in the GNOME Bindings.  Therefore, I commit myself to
propose its inclusion for GNOME 2.10, when the time comes.

  Regards.

> 
> [1] gst-python has already been suggested.
> 
> Murray Cumming
> [EMAIL PROTECTED]
> www.murrayc.com
> www.openismus.com
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to