Lines Matching refs:osname
577 osname, host, release, version, machine = os.uname()
581 osname = osname.lower().replace('/', '')
585 if osname[:5] == "linux":
589 return "%s-%s" % (osname, machine)
590 elif osname[:5] == "sunos":
592 osname = "solaris"
600 elif osname[:4] == "irix": # could be "irix64"!
601 return "%s-%s" % (osname, release)
602 elif osname[:3] == "aix":
603 return "%s-%s.%s" % (osname, version, release)
604 elif osname[:6] == "cygwin":
605 osname = "cygwin"
610 elif osname[:6] == "darwin":
612 osname, release, machine = _osx_support.get_platform_osx(
614 osname, release, machine)
616 return "%s-%s-%s" % (osname, release, machine)