Up Python : ファイル 作成: 2021-03-20
更新: 2021-03-20


    /usr/bin
      python -> python2.7
      python2.7
      python3.5
      python3.5m
      python-config -> python2.7-config

    /var/lib/python
      python2.7
      python3
      python3.5

    /usr/lib
      python2.7
      python3
      python3.5

    /usr/local/lib
      python2.7
      python3.5



    /usr/bin/python-config #!/bin/sh exit_with_usage () { echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs \ |--cflags|--ldflags|--extension-suffix|--help|--configdir" exit $1 } if [ "$1" = "" ] ; then exit_with_usage 1 fi # Returns the actual prefix where this script was installed to. installed_prefix () { local RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) if [ $(which readlink) ] ; then RESULT=$(readlink -f "") fi echo } prefix_build="/usr" prefix_real=$(installed_prefix "$0") # Use sed to fix paths from their built to locations to their installed to locations. prefix=$(echo "" | sed "s###") exec_prefix_build="" exec_prefix=$(echo "" | sed "s###") includedir=$(echo "/include" | sed "s###") libdir=$(echo "/lib" | sed "s###") CFLAGS=$(echo "-Wdate-time -D_FORTIFY_SOURCE=2 \ -g -fdebug-prefix-map=/build/python2.7-ajc2xi/python2.7-2.7.13=. \ -fstack-protector-strong -Wformat -Werror=format-security " \ | sed "s###") VERSION="2.7" LIBM="-lm" LIBC="" SYSLIBS=" " ABIFLAGS="" MULTIARCH="arm-linux-gnueabihf" LIBS="-lpython -lpthread -ldl -lutil " BASECFLAGS=" -fno-strict-aliasing" LDLIBRARY="libpython.a" LINKFORSHARED="-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions" OPT="-DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes" PY_ENABLE_SHARED="0" LIBDEST=/lib/python LIBPL=/config- SO=".so" PYTHONFRAMEWORK="" INCDIR="-I/python" PLATINCDIR="-I//python" # Scan for --help or unknown argument. for ARG in $* do case in --help) exit_with_usage 0 ;; --prefix|--exec-prefix|--includes|--libs \ |--cflags|--ldflags|--extension-suffix|--configdir) ;; *) exit_with_usage 1 ;; esac done for ARG in $* do case in --prefix) echo "" ;; --exec-prefix) echo "" ;; --includes) echo "" "" ;; --cflags) echo " " ;; --libs) echo "" ;; --ldflags) LINKFORSHAREDUSED= if [ -z "" ] ; then LINKFORSHAREDUSED= fi LIBPLUSED= if [ "" = "0" ] ; then LIBPLUSED="-L" fi echo " -L " ;; --extension-suffix) echo "" ;; --configdir) echo "" ;; esac done