mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 02:15:10 +00:00 
			
		
		
		
	 1b7f6fedb3
			
		
	
	
		1b7f6fedb3
		
	
	
	
	
		
			
			- update installer ReadMe file - suppress installer per-file byte-compilation messages to system log - speed up installer byte-compilation - isolate ensurepip install from user site-packages
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			895 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			895 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|lib2to3/tests/data' \
 | |
|     "${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|lib2to3/tests/data' \
 | |
|     "${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
 |