8 Star 17 Fork 9

LibQQt应用程序开发组织 / Multi-environ Technology(PyMake)

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
pyinfo.sh 672 Bytes
Copy Edit Raw Blame History
T.D.R. authored 2019-06-21 10:12 . fix all .bat .ps1 .sh
#!/usr/bin/env bash
while [ 1 ]
do
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null && pwd )"
#echo .... $DIR
export PYPROGRAMPATH=${DIR}
export PYPROGRAMNAME=pyinfo.py
export PYPROGRAMPATHNAME=$PYPROGRAMPATH/$PYPROGRAMNAME
py=$(which python3)
${py} "$PYPROGRAMPATHNAME" "$@"
exit $?
break
done
Python
1
https://gitee.com/drabel/PyMake.git
git@gitee.com:drabel/PyMake.git
drabel
PyMake
Multi-environ Technology(PyMake)
master

Search