

See PyGTK/Hello World with Glade for a description of this step. The following is the step by step process in building and testing a Sugar Activity using Sweettepache. 6 Changes made to tepache to produce sweettepache.4 The module 'holamundoActivity.py' produced by sweettepache.3 The module 'holamundo.py' produced by sweettepache.An important caveat is that there has been no robust testing (after all, almost anything can work for 'Hello World').

This project was developed on Ubuntu 7.10 and the Hello World activity was ported and tested on a G1G1 XO upgraded to release 656. He purpose of this page is to make sweettepache.py available and to show how it can be used to build and test sugar-compatible python code.

When the module works correctly on Ubuntu, it and the activity structure can be ported unchanged to the XO. The result is a module name.py which can be tested on Ubuntu (or possibly other platform). The program sweettepache.py is a modification of tepache which, in addition to name.py, produces a nameActivity.py module for Sugar, and produces the files and folders needed to make an activity bundle. The specific application logic is then added to complete the module. This module contains the has the code to connect with the GUI. Tepache ' tepache.py' is a python program which processes the glade file to produce a skeleton module name.py. The output from Glade is a file ' name.glade' where name is the name of the activity Glade.py provides a visual editor for designing a program's GUI (graphical user interface). Shows how to build the same activity using Glade. The PyGTK/Hello World Tutorial shows how to create the python program Hello World as a Sugar Activity. PyGTK/Hello World with Glade and Sweettepache
