Changes

Jump to navigation Jump to search
278 bytes added ,  11:50, 1 February 2011
Line 164: Line 164:  
There is a handy utility that is a standard part of Sugar Activity bundles, setup.py. You should use it to create and update POT files, generate a MANIFEST file and update locale files, and create .xo and .tar files for distribution.
 
There is a handy utility that is a standard part of Sugar Activity bundles, setup.py. You should use it to create and update POT files, generate a MANIFEST file and update locale files, and create .xo and .tar files for distribution.
   −
  ./setup.py genpot
+
  ./setup.py genpot       # generates or updates the POT file used by gettext for internationalization
 
  ./setup.py build
 
  ./setup.py build
  ./setup.py fix_manifest
+
  ./setup.py fix_manifest # updates the MANIFEST file and generates or updates the locale files used for internationalization
  ./setup.py dist_xo
+
  ./setup.py dist_xo       # creates an .xo bundle from your project
  ./setup.py dist_source
+
  ./setup.py dist_source   # creates a .tar.gz file from your project
    
===Packaging activities discussion===  
 
===Packaging activities discussion===  

Navigation menu