Lines Matching refs:osname
58 (osname, host, release, version, machine) = os.uname()
62 osname = osname.lower().replace('/', '')
66 if osname[:5] == "linux":
70 return "%s-%s" % (osname, machine)
71 elif osname[:5] == "sunos":
73 osname = "solaris"
81 elif osname[:3] == "aix":
84 elif osname[:6] == "cygwin":
85 osname = "cygwin"
90 elif osname[:6] == "darwin":
92 osname, release, machine = _osx_support.get_platform_osx(
94 osname, release, machine)
96 return "%s-%s-%s" % (osname, release, machine)