remove python3.6 support in package.sh

This commit is contained in:
jojobugfree 2020-04-10 14:26:21 +08:00
parent 268d358a1d
commit c1ad92ff4d
2 changed files with 3 additions and 6 deletions

View File

@ -45,18 +45,16 @@ PYTHON_VERSION=$("${PYTHON}" -V 2>&1 | awk '{print $2}' | cut -d. -f-2)
if [[ $(uname) == "Linux" ]]; then
if [[ "${PYTHON_VERSION}" == "3.7" ]]; then
PY_TAGS="cp37-cp37m"
elif [[ "${PYTHON_VERSION}" == "3.6" ]]; then
PY_TAGS="cp36-cp36m"
else
echo "Could not find 'Python 3.6' or 'Python 3.7'"
echo "Could not find 'Python 3.7'"
exit 1
fi
PLATFORM_TAG=$(to_lower "$(uname)_$(uname -m)")
elif [[ $(uname) == "Darwin" ]]; then
if [[ "${PYTHON_VERSION}" == "3.7" || "${PYTHON_VERSION}" == "3.6" ]]; then
if [[ "${PYTHON_VERSION}" == "3.7" ]]; then
PY_TAGS="py3-none"
else
echo "Could not find 'Python 3.6' or 'Python 3.7'"
echo "Could not find 'Python 3.7'"
exit 1
fi
PLATFORM_TAG="any"

View File

@ -3,7 +3,6 @@ protobuf >= 3.8.0
asttokens >= 1.1.13
pillow >= 6.2.0
scipy >= 1.3.3
dataclasses >= 0.6
easydict >= 1.9
sympy >= 1.4
cffi >= 1.13.2