mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 ae00b810d1
			
		
	
	
		ae00b810d1
		
			
		
	
	
	
	
		
			
			* Remove the Tools/scripts/2to3 script. * Remove the Lib/test/test_lib2to3/ directory. * Doc/tools/extensions/pyspecific.py: remove the "2to3fixer" object type. * Makefile and PC/layout/main.py no longer compile lib2to3 grammar files. * Update Makefile for 2to3 removal.
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			857 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			857 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| #
 | |
| # Recompile the .py files.
 | |
| #
 | |
| 
 | |
| PYVER="@PYVER@"
 | |
| FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -E -s -Wi \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
 | |
|     -f -x 'bad_coding|badsyntax|site-packages' \
 | |
|     "${FWK}/lib/python${PYVER}"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -E -s -Wi -O \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
 | |
|     -f -x 'bad_coding|badsyntax|site-packages' \
 | |
|     "${FWK}/lib/python${PYVER}"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -E -s -Wi \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
 | |
|     -f -x badsyntax \
 | |
|     "${FWK}/lib/python${PYVER}/site-packages"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -E -s -Wi -O \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
 | |
|     -f -x badsyntax \
 | |
|     "${FWK}/lib/python${PYVER}/site-packages"
 | |
| 
 | |
| chgrp -R admin "${FWK}"
 | |
| chmod -R g+w "${FWK}"
 | |
| 
 | |
| exit 0
 |