Activity Team/FAQ: Difference between revisions

add "How to package activity?"
No edit summary
Line 1: Line 1:
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}{{TeamHeader|Activity Team}}</noinclude>{{TOCright}}
<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 to package activity? ====
==== 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:
:Place [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/setup.py setup.py] file to top directory of your activity, to make activity bundle run:
:<code>python setup.py dist_xo</code>
:<code>python setup.py dist_xo</code>
:output bundle will be placed to ''dist/'' subdirectory. See also [[Development_Team/Almanac/Activity_Bundles|Activity bundles specification]].
:An output bundle will be saved in the ''dist/'' subdirectory. See also [[Development Team/Almanac/Activity Bundles|Activity bundles specification]].
 
[[Category:FAQ]]