build: disable binary build on Python 3.7

Fixes #962

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-08-02 14:46:38 +03:00
parent 935cbc9513
commit bd4bbf1438
+8 -1
View File
@@ -12,5 +12,12 @@ fi
if [[ ! -z "$TRAVIS_TAG" ]]; then
./scripts/build_package.sh
./scripts/build_posix.sh
PY_VER=$(python -c 'import sys; print(sys.version_info[0:2])')
if [[ $PY_VER == '(3, 7)' ]]; then
./scripts/build_posix.sh
else
echo "Not building dvc binary package on Python 3.7, since it is "\
"not supported by PyInstaller yet."
fi
fi