[Python-checkins] python/dist/src/Lib/plat-mac buildtools.py,1.6,1.7
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Mon, 24 Feb 2003 08:26:32 -0800
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv30137
Modified Files:
buildtools.py
Log Message:
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
Index: buildtools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/buildtools.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** buildtools.py 18 Feb 2003 23:30:27 -0000 1.6
--- buildtools.py 24 Feb 2003 16:26:25 -0000 1.7
***************
*** 302,306 ****
builder.resources.append(rsrcname)
for o in others:
! builder.resources.append(o)
if plistname:
import plistlib
--- 302,309 ----
builder.resources.append(rsrcname)
for o in others:
! if type(o) == str:
! builder.resources.append(o)
! else:
! builder.files.append(o)
if plistname:
import plistlib