Added a -c (--copyfile) option with argument src:dst which copies file src
into dst in the bundle. The Python API already had this functionality
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index c6430b0..470f016 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -301,7 +301,10 @@
if rsrcname:
builder.resources.append(rsrcname)
for o in others:
- builder.resources.append(o)
+ if type(o) == str:
+ builder.resources.append(o)
+ else:
+ builder.files.append(o)
if plistname:
import plistlib
builder.plist = plistlib.Plist.fromFile(plistname)