mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Issue #12406: Added upates for packaging's .exe files, command_template, and sysconfig.cfg.
This commit is contained in:
		
							parent
							
								
									21e4a0a1ba
								
							
						
					
					
						commit
						4334d740ed
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -119,6 +119,7 @@ pythondll_uuid = {
 | 
				
			||||||
    "30":"{6953bc3b-6768-4291-8410-7914ce6e2ca8}",
 | 
					    "30":"{6953bc3b-6768-4291-8410-7914ce6e2ca8}",
 | 
				
			||||||
    "31":"{4afcba0b-13e4-47c3-bebe-477428b46913}",
 | 
					    "31":"{4afcba0b-13e4-47c3-bebe-477428b46913}",
 | 
				
			||||||
    "32":"{3ff95315-1096-4d31-bd86-601d5438ad5e}",
 | 
					    "32":"{3ff95315-1096-4d31-bd86-601d5438ad5e}",
 | 
				
			||||||
 | 
					    "33":"{f7581ca4-d368-4eea-8f82-d48c64c4f047}",
 | 
				
			||||||
    } [major+minor]
 | 
					    } [major+minor]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Compute the name that Sphinx gives to the docfile
 | 
					# Compute the name that Sphinx gives to the docfile
 | 
				
			||||||
| 
						 | 
					@ -1010,6 +1011,8 @@ def add_files(db):
 | 
				
			||||||
            lib.remove_pyc()
 | 
					            lib.remove_pyc()
 | 
				
			||||||
        # package READMEs if present
 | 
					        # package READMEs if present
 | 
				
			||||||
        lib.glob("README")
 | 
					        lib.glob("README")
 | 
				
			||||||
 | 
					        if dir=='Lib':
 | 
				
			||||||
 | 
					            lib.add_file("sysconfig.cfg")
 | 
				
			||||||
        if dir=='test' and parent.physical=='Lib':
 | 
					        if dir=='test' and parent.physical=='Lib':
 | 
				
			||||||
            lib.add_file("185test.db")
 | 
					            lib.add_file("185test.db")
 | 
				
			||||||
            lib.add_file("audiotest.au")
 | 
					            lib.add_file("audiotest.au")
 | 
				
			||||||
| 
						 | 
					@ -1045,7 +1048,7 @@ def add_files(db):
 | 
				
			||||||
        if dir=="Icons":
 | 
					        if dir=="Icons":
 | 
				
			||||||
            lib.glob("*.gif")
 | 
					            lib.glob("*.gif")
 | 
				
			||||||
            lib.add_file("idle.icns")
 | 
					            lib.add_file("idle.icns")
 | 
				
			||||||
        if dir=="command" and parent.physical=="distutils":
 | 
					        if dir=="command" and parent.physical in ("distutils", "packaging"):
 | 
				
			||||||
            lib.glob("wininst*.exe")
 | 
					            lib.glob("wininst*.exe")
 | 
				
			||||||
            lib.add_file("command_template")
 | 
					            lib.add_file("command_template")
 | 
				
			||||||
        if dir=="lib2to3":
 | 
					        if dir=="lib2to3":
 | 
				
			||||||
| 
						 | 
					@ -1156,6 +1159,8 @@ def add_files(db):
 | 
				
			||||||
            lib.add_file("README.txt", src="README")
 | 
					            lib.add_file("README.txt", src="README")
 | 
				
			||||||
        if f == 'Scripts':
 | 
					        if f == 'Scripts':
 | 
				
			||||||
            lib.add_file("2to3.py", src="2to3")
 | 
					            lib.add_file("2to3.py", src="2to3")
 | 
				
			||||||
 | 
					            lib.add_file("pydoc3.py", src="pydoc3")
 | 
				
			||||||
 | 
					            lib.add_file("pysetup3.py", src="pysetup3")
 | 
				
			||||||
            if have_tcl:
 | 
					            if have_tcl:
 | 
				
			||||||
                lib.start_component("pydocgui.pyw", tcltk, keyfile="pydocgui.pyw")
 | 
					                lib.start_component("pydocgui.pyw", tcltk, keyfile="pydocgui.pyw")
 | 
				
			||||||
                lib.add_file("pydocgui.pyw")
 | 
					                lib.add_file("pydocgui.pyw")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue