[Python-checkins] CVS: distutils/distutils/command bdist.py,1.15,1.16
Greg Ward
python-dev@python.org
Tue, 1 Aug 2000 18:44:47 -0700
Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv13015
Modified Files:
bdist.py
Log Message:
Added 'wininst' to the 'format_commands' list, so it's included in
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
Index: bdist.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** bdist.py 2000/07/05 03:07:18 1.15
--- bdist.py 2000/08/02 01:44:44 1.16
***************
*** 53,56 ****
--- 53,61 ----
'nt': 'zip', }
+ # Establish the preferred order (for the --help-formats option).
+ format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar',
+ 'wininst', 'zip']
+
+ # And the real information.
format_command = { 'rpm': ('bdist_rpm', "RPM distribution"),
'gztar': ('bdist_dumb', "gzip'ed tar file"),
***************
*** 58,67 ****
'ztar': ('bdist_dumb', "compressed tar file"),
'tar': ('bdist_dumb', "tar file"),
- 'zip': ('bdist_dumb', "ZIP file"),
'wininst': ('bdist_wininst',
"Windows executable installer"),
}
- # establish the preferred order
- format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar', 'zip']
--- 63,70 ----
'ztar': ('bdist_dumb', "compressed tar file"),
'tar': ('bdist_dumb', "tar file"),
'wininst': ('bdist_wininst',
"Windows executable installer"),
+ 'zip': ('bdist_dumb', "ZIP file"),
}