sugar4.activity.bundlebuilder
The bundle builder is a build system for Sugar activities. Usually, it is setup by creating a setup.py file in the project with the following:
#!/usr/bin/env python
from sugar4.activity import bundlebuilder
bundlebuilder.start()
Attributes
Classes
Functions
|
|
|
Run tests for the activity |
|
Setup for development |
|
Create a xo bundle package |
|
Add missing files to the manifest (OBSOLETE) |
|
Create a tar source package |
|
Install the activity in the system |
|
Generate the gettext pot file |
|
Build generated files |
|
Module Contents
- sugar4.activity.bundlebuilder.IGNORE_FILES = ['.gitignore', 'MANIFEST', '*.pyc', '*~', '*.bak', 'pseudo.po'][source]
- class sugar4.activity.bundlebuilder.Config(source_dir, dist_dir=None, dist_name=None)[source]
Bases:
object
- sugar4.activity.bundlebuilder.cmd_fix_manifest(config, options)[source]
Add missing files to the manifest (OBSOLETE)