[Python-checkins] CVS: python/dist/src/Doc/tools mksourcepkg,1.3,1.4
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 22 Jan 2001 13:34:22 -0800
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv15629/tools
Modified Files:
mksourcepkg
Log Message:
When generating the source package, copy in the LICENSE file from the main
source directory.
Index: mksourcepkg
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mksourcepkg,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** mksourcepkg 2000/10/10 19:35:40 1.3
--- mksourcepkg 2001/01/22 21:34:20 1.4
***************
*** 17,22 ****
# from the Makefile or someplace.
- __version__ = "$Revision$"
-
import getopt
import glob
--- 17,20 ----
***************
*** 64,70 ****
formats["gzip"] = 1
formats["zip"] = 1
- formats = formats.keys()
if formats:
# make order human-predictable
formats.sort()
else:
--- 62,68 ----
formats["gzip"] = 1
formats["zip"] = 1
if formats:
# make order human-predictable
+ formats = formats.keys()
formats.sort()
else:
***************
*** 102,107 ****
run("cvs -Q -d%s checkout -d Doc python/dist/src/Doc" % cvsroot)
# remove CVS directories
! for p in ('*/CVS', '*/*/CVS', '*/*/*/CVS'):
map(shutil.rmtree, glob.glob(p))
if tools:
archive = "doctools-" + release
--- 100,109 ----
run("cvs -Q -d%s checkout -d Doc python/dist/src/Doc" % cvsroot)
# remove CVS directories
! for p in ('*/CVS', '*/*/CVS', '*/*/*/CVS',
! '.cvsignore', '*/.cvsignore'):
map(shutil.rmtree, glob.glob(p))
+ LICENSE = os.path.normpath(
+ os.path.join(mydir, os.pardir, os.pardir, "LICENSE"))
+ shutil.copyfile(LICENSE, "Doc/LICENSE")
if tools:
archive = "doctools-" + release