Lines Matching refs:osname
59 (osname, host, release, version, machine) = os.uname()
63 osname = osname.lower().replace('/', '')
67 if osname[:5] == "linux":
71 return "%s-%s" % (osname, machine)
72 elif osname[:5] == "sunos":
74 osname = "solaris"
82 elif osname[:3] == "aix":
85 elif osname[:6] == "cygwin":
86 osname = "cygwin"
91 elif osname[:6] == "darwin":
93 osname, release, machine = _osx_support.get_platform_osx(
95 osname, release, machine)
97 return "%s-%s-%s" % (osname, release, machine)