Activity Team/Sweetener: Difference between revisions
| Line 14: | Line 14: | ||
git clone git://git.sugarlabs.org/sweetener/sweetener.git | git clone git://git.sugarlabs.org/sweetener/sweetener.git | ||
* Copy to your new activity directory the following files: | * Copy to your new activity directory the following files: | ||
Makefile | |||
activity.py | |||
canvas.py | |||
options.py | |||
info.py | |||
Optional, only if you want to get your activity working on other Linux desktops: | |||
application.py | |||
hello-integration # (rename it to your activity name) | |||
* Make the following directories inside your activity: | * Make the following directories inside your activity: | ||
sugar/sweetener | |||
desktop/sweetener # (Only if you want to run your activity on Linux desktops) | |||
* Copy basic modules:<br> Sweetener is divided in modules, for a very basic activity, you'll need to copy from (sugar - desktop)/sweetener: | * Copy basic modules:<br> Sweetener is divided in modules, for a very basic activity, you'll need to copy from (sugar - desktop)/sweetener: | ||
__init__.py | |||
basic_options.py | |||
itembox.py | |||
item.py | |||
stock.py | |||
Optional if your activity has only the main ToolbarBox and the ActivityToolbar, obligatory for run the activty on Linux desktops: | |||
itemgroup.py | |||
* Fill info.py with the information about your activity. | * Fill info.py with the information about your activity. | ||