[Python-checkins] CVS: distutils/distutils/command bdist.py,1.4,1.5 sdist.py,1.15,1.16
Greg Ward
python-dev@python.org
Mon, 24 Apr 2000 21:38:24 -0400 (EDT)
Update of /projects/cvsroot/distutils/distutils/command
In directory newcnri:/tmp/cvs-serv10857/command
Modified Files:
bdist.py sdist.py
Log Message:
Harry Henry Gebel:
Adds bztar format to generate .tar.bz2 tarballs
Uses the -f argument to overright old tarballs automatically, I am
assuming that if the old tarball was wanted it would have been moved or
else the version number would have been changed.
Uses the -9 argument to bzip2 and gzip to use maximum
compression. Compress uses the maximum compression by default.
Tests for correct value for the 'compress' argument of make_tarball. This
is one less place for someone adding new compression programs to forget to
change.
Index: bdist.py
===================================================================
RCS file: /projects/cvsroot/distutils/distutils/command/bdist.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** bdist.py 2000/03/31 05:21:27 1.4
--- bdist.py 2000/04/25 01:38:19 1.5
***************
*** 6,10 ****
# created 2000/03/29, Greg Ward
! __revision__ = "$Id: bdist.py,v 1.4 2000/03/31 05:21:27 gward Exp $"
import os, string
--- 6,10 ----
# created 2000/03/29, Greg Ward
! __revision__ = "$Id: bdist.py,v 1.5 2000/04/25 01:38:19 gward Exp $"
import os, string
***************
*** 19,23 ****
user_options = [('format=', 'f',
! "format for distribution (tar, ztar, gztar, zip, ... )"),
]
--- 19,24 ----
user_options = [('format=', 'f',
! "format for distribution " +
! "(tar, ztar, gztar, bztar, zip, ... )"),
]
***************
*** 28,31 ****
--- 29,33 ----
format_command = { 'gztar': 'bdist_dumb',
+ 'bztar': 'bdist_dumb',
'ztar': 'bdist_dumb',
'tar': 'bdist_dumb',
Index: sdist.py
===================================================================
RCS file: /projects/cvsroot/distutils/distutils/command/sdist.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** sdist.py 2000/04/22 03:11:55 1.15
--- sdist.py 2000/04/25 01:38:20 1.16
***************
*** 5,9 ****
# created 1999/09/22, Greg Ward
! __revision__ = "$Id: sdist.py,v 1.15 2000/04/22 03:11:55 gward Exp $"
import sys, os, string, re
--- 5,9 ----
# created 1999/09/22, Greg Ward
! __revision__ = "$Id: sdist.py,v 1.16 2000/04/25 01:38:20 gward Exp $"
import sys, os, string, re
***************
*** 34,40 ****
('force-manifest', None,
"forcibly regenerate the manifest and carry on as usual"),
-
('formats=', None,
! "formats for source distribution (tar, ztar, gztar, or zip)"),
('keep-tree', 'k',
"keep the distribution tree around after creating " +
--- 34,39 ----
('force-manifest', None,
"forcibly regenerate the manifest and carry on as usual"),
('formats=', None,
! "formats for source distribution (tar, ztar, gztar, bztar, or zip)"),
('keep-tree', 'k',
"keep the distribution tree around after creating " +