Activity Team/FAQ: Difference between revisions
No edit summary |
add "How to package activity?" |
||
Line 54: | Line 54: | ||
==== How do I analyze my activity's memory usage? ==== | ==== How do I analyze my activity's memory usage? ==== | ||
: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? ==== | |||
: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> | |||
:output bundle will be placed to ''dist/'' subdirectory. See also [[Development_Team/Almanac/Activity_Bundles|Activity bundles specification]]. | |||
[[Category:FAQ]] | [[Category:FAQ]] |