diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:52:25 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:52:25 (GMT) |
commit | 983d494d38c3618c09a78e527ed546e49d8faa92 (patch) | |
tree | 9f0667a62627142f3b4de3a79e6d2f8bf6ce811b | |
parent | 30bee7e43a8879201e234035522786b07dec60ca (diff) |
Include NEWS in the xo
-rw-r--r-- | sugar/activity/bundlebuilder.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 16fd4f2..cf7dfcd 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -52,6 +52,14 @@ class _DefaultFileList(list): self.append('activity/activity.info') self.append('setup.py') + news_file = os.path.join(_get_source_path(), 'NEWS') + if not os.path.isfile(news_file): + f = f.open('w') + f.write('') + f.close() + + self.append('NEWS') + class _ManifestFileList(list): def __init__(self, manifest=None): self.append(manifest) |