README.md: set PYTHON2 env for Windows builds

Without this the build can fail to find a python27.exe
This commit is contained in:
Robert Bragg 2020-02-11 13:51:26 +00:00
parent c0ee7594c2
commit a9831716d7

View file

@ -194,6 +194,11 @@ export LIBCLANG_PATH=$(llvm-config --prefix)/lib64
You should change the installation to install the "Add python.exe to Path" feature. You should change the installation to install the "Add python.exe to Path" feature.
You will also need to set the `PYTHON2` environment variable, e.g., to 'C:\Python27\python.exe' by doing:
```
setx PYTHON2 "C:\Python27\python.exe" /m
```
2. Install Python 3.7 for Windows (https://www.python.org/downloads/release/python-374/). The Windows x86-64 MSI installer is fine. This is required in order to build the JavaScript engine, SpiderMonkey. 2. Install Python 3.7 for Windows (https://www.python.org/downloads/release/python-374/). The Windows x86-64 MSI installer is fine. This is required in order to build the JavaScript engine, SpiderMonkey.
You will also need to set the `PYTHON3` environment variable, e.g., to 'C:\Python37\python.exe' by doing: You will also need to set the `PYTHON3` environment variable, e.g., to 'C:\Python37\python.exe' by doing: