mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	[Patch #1005491 ] use __name__ == '__main__' in scripts
This commit is contained in:
		
							parent
							
								
									6c542b731c
								
							
						
					
					
						commit
						e236b38731
					
				
					 34 changed files with 257 additions and 200 deletions
				
			
		|  | @ -1,18 +1,19 @@ | |||
| from distutils.core import setup | ||||
| 
 | ||||
| setup( | ||||
|   scripts=[ | ||||
|     'byteyears.py', | ||||
|     'checkpyc.py', | ||||
|     'copytime.py', | ||||
|     'crlf.py', | ||||
|     'dutree.py', | ||||
|     'ftpmirror.py', | ||||
|     'h2py.py', | ||||
|     'lfcr.py', | ||||
|     'logmerge.py', | ||||
|     '../../Lib/tabnanny.py', | ||||
|     '../../Lib/timeit.py', | ||||
|     'untabify.py', | ||||
|     ], | ||||
|   ) | ||||
| if __name__ == '__main__': | ||||
|     setup( | ||||
|       scripts=[ | ||||
|         'byteyears.py', | ||||
|         'checkpyc.py', | ||||
|         'copytime.py', | ||||
|         'crlf.py', | ||||
|         'dutree.py', | ||||
|         'ftpmirror.py', | ||||
|         'h2py.py', | ||||
|         'lfcr.py', | ||||
|         'logmerge.py', | ||||
|         '../../Lib/tabnanny.py', | ||||
|         '../../Lib/timeit.py', | ||||
|         'untabify.py', | ||||
|         ], | ||||
|       ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew M. Kuchling
						Andrew M. Kuchling