Include NEWS in the xo

This commit is contained in:
Marco Pesenti Gritti 2007-06-29 22:52:25 +02:00
parent 30bee7e43a
commit 983d494d38

View File

@ -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)