?? copy-swig-py.sh
字號:
#!/bin/sh## copy-swig-py.sh: copy the Python bindings' .py files to the install locn## USAGE: copy-swig-py.sh PYTHON INSTALL SOURCE_DIR DEST_DIR#if test "$#" != 4; then echo USAGE: $0 PYTHON INSTALL SOURCE_DIR DEST_DIR exit 1fipyprog="$1"install="$2"srcdir="$3"dstdir="$4"# cd to the source directory so that we can get filenames rather than pathscd "$srcdir"# copy all the .py files to the target locationfor file in *.py; do $install "$file" "${dstdir}/${file}"done# figure out where the precompiling script is locatedscript="`\"$pyprog\" -c 'import compileall; print compileall.__file__'`"# precompile all of the files"$pyprog" "$script" "$dstdir"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -