mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
README.md: set PYTHON2 env for Windows builds
Without this the build can fail to find a python27.exe
This commit is contained in:
parent
c0ee7594c2
commit
a9831716d7
1 changed files with 5 additions and 0 deletions
|
@ -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 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.
|
||||
|
||||
You will also need to set the `PYTHON3` environment variable, e.g., to 'C:\Python37\python.exe' by doing:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue