Lines Matching refs:osname
65 (osname, host, release, version, machine) = os.uname()
69 osname = string.lower(osname)
70 osname = string.replace(osname, '/', '')
74 if osname[:5] == "linux":
78 return "%s-%s" % (osname, machine)
79 elif osname[:5] == "sunos":
81 osname = "solaris"
89 elif osname[:4] == "irix": # could be "irix64"!
90 return "%s-%s" % (osname, release)
91 elif osname[:3] == "aix":
92 return "%s-%s.%s" % (osname, version, release)
93 elif osname[:6] == "cygwin":
94 osname = "cygwin"
99 elif osname[:6] == "darwin":
101 osname, release, machine = _osx_support.get_platform_osx(
103 osname, release, machine)
105 return "%s-%s-%s" % (osname, release, machine)