GRAYBYTE WORDPRESS FILE MANAGER3959

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib/node_modules/npm/node_modules/node-gyp/gyp/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib/node_modules/npm/node_modules/node-gyp/gyp//gyp_main.py
#! /usr/bin/python2

# Copyright (c) 2009 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import os
import sys
import subprocess

PY3 = bytes != str

# Below IsCygwin() function copied from pylib/gyp/common.py
def IsCygwin():
  try:
    out = subprocess.Popen("uname",
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT)
    stdout, stderr = out.communicate()
    if PY3:
      stdout = stdout.decode("utf-8")
    return "CYGWIN" in str(stdout)
  except Exception:
    return False


def UnixifyPath(path):
  try:
    if not IsCygwin():
      return path
    out = subprocess.Popen(["cygpath", "-u", path],
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT)
    stdout, _ = out.communicate()
    if PY3:
      stdout = stdout.decode("utf-8")
    return str(stdout)
  except Exception:
    return path


# Make sure we're using the version of pylib in this repo, not one installed
# elsewhere on the system. Also convert to Unix style path on Cygwin systems,
# else the 'gyp' library will not be found
path = UnixifyPath(sys.argv[0])
sys.path.insert(0, os.path.join(os.path.dirname(path), 'pylib'))
import gyp

if __name__ == '__main__':
  sys.exit(gyp.script_main())

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
January 01 1970 00:00:00
root / root
0
data
--
March 03 2024 22:36:29
root / root
0755
pylib
--
March 03 2024 22:36:29
root / root
0755
samples
--
March 03 2024 22:36:29
root / root
0755
tools
--
March 03 2024 22:36:29
root / root
0755
AUTHORS
0.393 KB
March 10 2021 14:36:38
root / root
0644
DEPS
0.553 KB
March 10 2021 14:36:38
root / root
0644
LICENSE
1.44 KB
March 10 2021 14:36:38
root / root
0644
OWNERS
0.002 KB
March 10 2021 14:36:38
root / root
0644
PRESUBMIT.py
3.661 KB
March 10 2021 14:36:38
root / root
0644
codereview.settings
0.364 KB
March 10 2021 14:36:38
root / root
0644
gyp
0.235 KB
March 10 2021 14:36:38
root / root
0644
gyp.bat
0.191 KB
March 10 2021 14:36:38
root / root
0644
gyp_main.py
1.27 KB
March 10 2021 14:36:38
root / root
0644
setup.py
0.521 KB
March 10 2021 14:36:38
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF