mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Merged revisions 71291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71291 | tarek.ziade | 2009-04-06 00:51:09 +0200 (Mon, 06 Apr 2009) | 1 line Fixed #5095: msi missing from Distutils bdist formats ........
This commit is contained in:
		
							parent
							
								
									0d8f07305d
								
							
						
					
					
						commit
						f637050f79
					
				
					 4 changed files with 67 additions and 25 deletions
				
			
		|  | @ -49,35 +49,28 @@ class bdist(Command): | |||
|         ] | ||||
| 
 | ||||
|     # The following commands do not take a format option from bdist | ||||
|     no_format_option = ('bdist_rpm', | ||||
|                         #'bdist_sdux', 'bdist_pkgtool' | ||||
|                         ) | ||||
|     no_format_option = ('bdist_rpm',) | ||||
| 
 | ||||
|     # This won't do in reality: will need to distinguish RPM-ish Linux, | ||||
|     # Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS. | ||||
|     default_format = { 'posix': 'gztar', | ||||
|                        'nt': 'zip', | ||||
|                        'os2': 'zip', } | ||||
|     default_format = {'posix': 'gztar', | ||||
|                       'nt': 'zip', | ||||
|                       'os2': 'zip'} | ||||
| 
 | ||||
|     # Establish the preferred order (for the --help-formats option). | ||||
|     format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar', | ||||
|                        'wininst', 'zip', | ||||
|                        #'pkgtool', 'sdux' | ||||
|                        ] | ||||
|                        'wininst', 'zip', 'msi'] | ||||
| 
 | ||||
|     # And the real information. | ||||
|     format_command = { 'rpm':   ('bdist_rpm',  "RPM distribution"), | ||||
|                        'zip':   ('bdist_dumb', "ZIP file"), | ||||
|                        'gztar': ('bdist_dumb', "gzip'ed tar file"), | ||||
|                        'bztar': ('bdist_dumb', "bzip2'ed tar file"), | ||||
|                        'ztar':  ('bdist_dumb', "compressed tar file"), | ||||
|                        'tar':   ('bdist_dumb', "tar file"), | ||||
|                        'wininst': ('bdist_wininst', | ||||
|                                    "Windows executable installer"), | ||||
|                        'zip':   ('bdist_dumb', "ZIP file"), | ||||
|                        #'pkgtool': ('bdist_pkgtool', | ||||
|                        #            "Solaris pkgtool distribution"), | ||||
|                        #'sdux':  ('bdist_sdux', "HP-UX swinstall depot"), | ||||
|     format_command = {'rpm':   ('bdist_rpm',  "RPM distribution"), | ||||
|                       'gztar': ('bdist_dumb', "gzip'ed tar file"), | ||||
|                       'bztar': ('bdist_dumb', "bzip2'ed tar file"), | ||||
|                       'ztar':  ('bdist_dumb', "compressed tar file"), | ||||
|                       'tar':   ('bdist_dumb', "tar file"), | ||||
|                       'wininst': ('bdist_wininst', | ||||
|                                   "Windows executable installer"), | ||||
|                       'zip':   ('bdist_dumb', "ZIP file"), | ||||
|                       'msi':   ('bdist_msi',  "Microsoft Installer") | ||||
|                       } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tarek Ziadé
						Tarek Ziadé