Activity Team/FAQ: Difference between revisions
add "How to package activity?" |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>{{ | <noinclude>{{TeamHeader|Activity Team}}{{TOCright}} | ||
[[Category:FAQ]]</noinclude> | |||
: '''[[Talk:Activity Team/FAQ | Post questions here]]''' for the [[Activity Team]]. | : '''[[Talk:Activity Team/FAQ | Post questions here]]''' for the [[Activity Team]]. | ||
=== About the Activity Team === | === About the Activity Team === | ||
| Line 55: | Line 56: | ||
:Please refer to these pages for assistance in understanding the memory usage patterns of activities and the shell and for detecting leaks: http://wiki.laptop.org/go/MemoryUsageAnalysis and http://wiki.laptop.org/go/Memory_leak_testing | :Please refer to these pages for assistance in understanding the memory usage patterns of activities and the shell and for detecting leaks: http://wiki.laptop.org/go/MemoryUsageAnalysis and http://wiki.laptop.org/go/Memory_leak_testing | ||
==== How | ==== How does one package an activity? ==== | ||
:Save the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/setup.py setup.py] file in the top directory of your activity development tree. To make an activity bundle, run the following code: | |||
: | |||
:<code>python setup.py dist_xo</code> | :<code>python setup.py dist_xo</code> | ||
:output bundle will be | :An output bundle will be saved in the ''dist/'' subdirectory. See also [[Development Team/Almanac/Activity Bundles|Activity bundles specification]]. | ||