Make sure gyp uses Python 2 (#1933)

gyp/npm uses /usr/bin/python to build, which is a problem on systems where
/usr/bin/python is Python 3 or higher.  Fortunately, you can tell npm which
Python to use.
This commit is contained in:
Jeff Bonhag 2014-05-06 14:04:25 -04:00
parent 7a10bf1c33
commit 0cdce9c665

View File

@ -34,6 +34,7 @@ Atom will automatically update when a new release is available.
* Ubuntu LTS 12.04 64-bit is the recommended platform
* [node.js](http://nodejs.org/)
* `sudo apt-get install libgnome-keyring-dev`
* `npm config set python /usr/bin/python2 -g` to ensure that gyp uses Python 2
```sh
git clone https://github.com/atom/atom