Download cpython_2/environment/repo/Mac/BuildScript/scripts/postflight.framework from lolbench26/LoLBench: direct link, hf CLI and curl.
- Browser
- Download file 895 Bytes
-
https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Mac/BuildScript/scripts/postflight.framework
- Command line
-
hf download hf://datasets/lolbench26/LoLBench/cpython_2/environment/repo/Mac/BuildScript/scripts/postflight.framework
-
curl -L -o postflight.framework https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Mac/BuildScript/scripts/postflight.framework
895 Bytes
| # | |
| # 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 | |