mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Added a button to increment buildno, so it doesn't happen
automatically all the time.
This commit is contained in:
		
							parent
							
								
									37b4b49962
								
							
						
					
					
						commit
						675cda0787
					
				
					 2 changed files with 14 additions and 11 deletions
				
			
		| 
						 | 
					@ -39,6 +39,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
I_OK=1
 | 
					I_OK=1
 | 
				
			||||||
I_CANCEL=2
 | 
					I_CANCEL=2
 | 
				
			||||||
 | 
					I_INC_BUILDNO=19
 | 
				
			||||||
 | 
					
 | 
				
			||||||
I_CORE=3
 | 
					I_CORE=3
 | 
				
			||||||
I_PPC_PLUGINS=4
 | 
					I_PPC_PLUGINS=4
 | 
				
			||||||
| 
						 | 
					@ -110,7 +111,7 @@ def buildfat(top, dummy, list):
 | 
				
			||||||
		print 'Building fat binary', dst
 | 
							print 'Building fat binary', dst
 | 
				
			||||||
		cfmfile.mergecfmfiles((src1, src2), dst)
 | 
							cfmfile.mergecfmfiles((src1, src2), dst)
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
def handle_dialog():
 | 
					def handle_dialog(filename):
 | 
				
			||||||
	"""Handle selection dialog, return list of selected items"""
 | 
						"""Handle selection dialog, return list of selected items"""
 | 
				
			||||||
	d = Dlg.GetNewDialog(DIALOG_ID, -1)
 | 
						d = Dlg.GetNewDialog(DIALOG_ID, -1)
 | 
				
			||||||
	d.SetDialogDefaultItem(I_OK)
 | 
						d.SetDialogDefaultItem(I_OK)
 | 
				
			||||||
| 
						 | 
					@ -122,6 +123,9 @@ def handle_dialog():
 | 
				
			||||||
			break
 | 
								break
 | 
				
			||||||
		if n == I_CANCEL:
 | 
							if n == I_CANCEL:
 | 
				
			||||||
			return []
 | 
								return []
 | 
				
			||||||
 | 
							if n == I_INC_BUILDNO:
 | 
				
			||||||
 | 
								incbuildno(filename)
 | 
				
			||||||
 | 
								continue
 | 
				
			||||||
		if n < len(results):
 | 
							if n < len(results):
 | 
				
			||||||
			results[n] = (not results[n])
 | 
								results[n] = (not results[n])
 | 
				
			||||||
			tp, h, rect = d.GetDialogItem(n)
 | 
								tp, h, rect = d.GetDialogItem(n)
 | 
				
			||||||
| 
						 | 
					@ -211,9 +215,7 @@ def main():
 | 
				
			||||||
		sys.exit(0)
 | 
							sys.exit(0)
 | 
				
			||||||
	dir = dir.as_pathname()
 | 
						dir = dir.as_pathname()
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	todo = handle_dialog()
 | 
						todo = handle_dialog(os.path.join(dir, MACBUILDNO))
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	incbuildno(os.path.join(dir, MACBUILDNO))
 | 
					 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
	instructions = []
 | 
						instructions = []
 | 
				
			||||||
	for i in todo:
 | 
						for i in todo:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,16 +1,17 @@
 | 
				
			||||||
(This file must be converted with BinHex 4.0)
 | 
					(This file must be converted with BinHex 4.0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:$QCeE'aLG@PXC#jbFh*M!(*cFQ058d9%!3#3"`,MLjS!N!3"!!!!!Td!!!'G!!!
 | 
					:$QCeE'aLG@PXC#jbFh*M!(*cFQ058d9%!3#3"`-$4B8!N!3"!!!!!Vd!!!'p!!!
 | 
				
			||||||
!4J!!4dJ-8f0bC@9Z)%9KFf@U)!)!!!"45f9i8f0&B5%!$QCeE'aLG@PXC#jbFh*
 | 
					!4J!!4dJ-8f0bC@9Z)%9KFf@U)!)!!!"45f9i8f0&B5%!$QCeE'aLG@PXC#jbFh*
 | 
				
			||||||
MD3)!!!"bFh*M8P0&4!%!!3!!!(*cFQ058d9%!3!"!!%"!*!2!6`"X"Z903#3"J-
 | 
					MD3)!!!"bFh*M8P0&4!%!!B!!!(*cFQ058d9%!3!"J!%"!*!2!6`"X"Z903#3"J,
 | 
				
			||||||
0!*!+$J!!!%G)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!!d!E!"BL!T6G'&dD@-J8&"$!*!&G!!0!)3!@)J
 | 
					3"6`!$3"-!&L)!cBi5eJ!N!9F!!d!E!"BL!T6G'&dD@-J8&"$!*!&G!!0!)3!@)J
 | 
				
			||||||
+8h4KG'PM)$Bi5`#3"C3!$3#N!&L)"%eTFf-!N!8)!)m!'!%JL"96C@aPBh3JGfK
 | 
					+8h4KG'PM)$Bi5`#3"C3!$3#N!&L)"%eTFf-!N!8)!)m!'!%JL"96C@aPBh3JGfK
 | 
				
			||||||
KG#"dEb"LG@PXC$TX!!!"!!!!!Td!!!'G!!!!4J&LES`a0J!!!"`!4J!"4%a24`!
 | 
					KG#"dEb"LG@PXC$TX!*!&Y!$H!-N"EJ345@jMFQ9YC@jd)'*eD@aNEQm!!!!"!!!
 | 
				
			||||||
!!"*%594-!!!!(J)!rrm!N!J#!2rr!!!!'3&LEK"R-!:
 | 
					!!Vd!!!'p!!!!4J((3*`Yk!!!!"`!4J!"4%a24`!!!"*%594-!!!!(J)!rrm!N!J
 | 
				
			||||||
 | 
					#!2rr!!!!'3((3KLl@`:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue