Initial commit
[yaffs-website] / node_modules / node-gyp / gyp / gyp_main.py
1 #!/usr/bin/env python
2
3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 import os
8 import sys
9
10 # Make sure we're using the version of pylib in this repo, not one installed
11 # elsewhere on the system.
12 sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
13 import gyp
14
15 if __name__ == '__main__':
16   sys.exit(gyp.script_main())