make sure Info.plist has a CFBundleIdentifier entry

This commit is contained in:
Just van Rossum 2003-01-13 23:30:04 +00:00
parent ddc82ea944
commit 9896ea24f9
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ class BundleBuilder(Defaults):
else:
self.creator = "????"
plist.CFBundleSignature = self.creator
if not hasattr(plist, "CFBundleIdentifier"):
plist.CFBundleIdentifier = self.name
def build(self):
"""Build the bundle."""