Activity Team/FAQ: Difference between revisions
m formatting |
|||
| Line 47: | Line 47: | ||
==== How does one package an 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: | :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}} | ||
:An output bundle will be saved in the ''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]]. | ||