opt
/
alt
/
python37
/
bin
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
chardetect
977 bytes
Rename
Delete
futurize
973 bytes
Rename
Delete
jsonschema
986 bytes
Rename
Delete
lswsgi
110.93 KB
Rename
Delete
pasteurize
977 bytes
Rename
Delete
pip
661 bytes
Rename
Delete
pip-3
661 bytes
Rename
Delete
pip-3.7
661 bytes
Rename
Delete
pip3
661 bytes
Rename
Delete
pip3.7
661 bytes
Rename
Delete
pydoc3
91 bytes
Rename
Delete
pydoc3.7
91 bytes
Rename
Delete
python3
7.74 KB
Rename
Delete
python3-config
173 bytes
Rename
Delete
python3.7
7.74 KB
Rename
Delete
python3.7-config
173 bytes
Rename
Delete
python3.7m
7.74 KB
Rename
Delete
python3.7m-config
173 bytes
Rename
Delete
python3.7m-x86_64-config
3.57 KB
Rename
Delete
pyvenv
448 bytes
Rename
Delete
pyvenv-3.7
448 bytes
Rename
Delete
raven
961 bytes
Rename
Delete
virtualenv
992 bytes
Rename
Delete
virtualenv-3
992 bytes
Rename
Delete
virtualenv-37
992 bytes
Rename
Delete
#!/bin/sh # Keep this script in sync with python-config.in exit_with_usage () { echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir" exit $1 } if [ "$1" = "" ] ; then exit_with_usage 1 fi # Returns the actual prefix where this script was installed to. installed_prefix () { RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) if which readlink >/dev/null 2>&1 ; then if readlink -f "$RESULT" >/dev/null 2>&1; then RESULT=$(readlink -f "$RESULT") fi fi echo $RESULT } prefix_real=$(installed_prefix "$0") # Use sed to fix paths from their built-to locations to their installed-to # locations. Keep prefix & exec_prefix using their original values in case # they are referenced in other configure variables, to prevent double # substitution, issue #22140. prefix="/opt/alt/python37" exec_prefix="/opt/alt/python37" exec_prefix_real=${prefix_real} includedir=$(echo "/opt/alt/python37/include" | sed "s#$prefix#$prefix_real#") libdir=$(echo "/opt/alt/python37/lib64" | sed "s#$prefix#$prefix_real#") CFLAGS=$(echo "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv" | sed "s#$prefix#$prefix_real#") VERSION="3.7" LIBM="-lm" LIBC="" SYSLIBS="$LIBM $LIBC" ABIFLAGS="m" LIBS="-lpython${VERSION}${ABIFLAGS} -lcrypt -lpthread -ldl -lutil $SYSLIBS" BASECFLAGS=" -Wno-unused-result -Wsign-compare" LDLIBRARY="libpython${LDVERSION}.so" OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv" PY_ENABLE_SHARED="1" LDVERSION="${VERSION}${ABIFLAGS}" LIBDEST=${prefix_real}/lib/python${VERSION} LIBPL=$(echo "${prefix}/lib/python3.7/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#") SO=".cpython-37m-x86_64-linux-gnu.so" PYTHONFRAMEWORK="" INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" # Scan for --help or unknown argument. for ARG in $* do case $ARG in --help) exit_with_usage 0 ;; --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) ;; *) exit_with_usage 1 ;; esac done for ARG in "$@" do case "$ARG" in --prefix) echo "$prefix_real" ;; --exec-prefix) echo "$exec_prefix_real" ;; --includes) echo "$INCDIR $PLATINCDIR" ;; --cflags) echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" ;; --libs) echo "$LIBS" ;; --ldflags) LIBPLUSED= if [ "$PY_ENABLE_SHARED" = "0" ] ; then LIBPLUSED="-L$LIBPL" fi echo "$LIBPLUSED -L$libdir $LIBS" ;; --extension-suffix) echo "$SO" ;; --abiflags) echo "$ABIFLAGS" ;; --configdir) echo "$LIBPL" ;; esac done
Save