diff options
author | João Reis <reis@janeasystems.com> | 2019-08-20 23:35:17 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-09-03 07:07:08 +0300 |
commit | d18b6a7e40460efe652ffd1bd072947d635ae890 (patch) | |
tree | f1d0f6d85f52a86e8ec65affe059350ebb27c970 /vcbuild.bat | |
parent | eba72acada20dd09836146f04bf8222a5591b7d9 (diff) |
build,win: accept Python 3 if 2 is not available
If there is no Python 2 available, use Python 3. This allows to test
running configure with Python 3.
PR-URL: https://github.com/nodejs/node/pull/29236
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index 6897e0a6f8d..86b2f1e3c9c 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -689,6 +689,9 @@ goto exit :create-msvs-files-failed echo Failed to create vc project files. +if %VCBUILD_PYTHON_VERSION%==3 ( + echo Python 3 is not yet fully supported, to avoid issues Python 2 should be installed. +) del .used_configure_flags goto exit |