Include gyp as a submodule

This makes it so you don't have to install gyp on your system before you
can build.
This commit is contained in:
Adam Roben 2013-08-23 07:48:37 -04:00
parent 710d0fc6c5
commit f17f9d932c
4 changed files with 6 additions and 5 deletions

View file

@ -6,9 +6,7 @@ import sys
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
GYP = {
'win32': 'gyp.bat',
}.get(sys.platform, 'gyp')
GYP = os.path.join(SOURCE_ROOT, 'vendor', 'gyp', 'gyp_main.py')
def main():
@ -17,7 +15,7 @@ def main():
def run_gyp():
return subprocess.call([GYP, '--depth', '.', 'brightray.gyp'])
return subprocess.call([sys.executable, GYP, '--depth', '.', 'brightray.gyp'])
def build():