"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/node-gyp/gyp/gyp_main.py" (7 Feb 2017, 447 Bytes) of archive /windows/misc/atom-windows.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/env python
    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.
    7 import os
    8 import sys
   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
   15 if __name__ == '__main__':
   16   sys.exit(gyp.script_main())