Lines Matching refs:osname
644 osname, host, release, version, machine = os.uname()
648 osname = osname.lower().replace('/', '')
652 if osname[:5] == "linux":
656 return "%s-%s" % (osname, machine)
657 elif osname[:5] == "sunos":
659 osname = "solaris"
667 elif osname[:3] == "aix":
670 elif osname[:6] == "cygwin":
671 osname = "cygwin"
677 elif osname[:6] == "darwin":
679 osname, release, machine = _osx_support.get_platform_osx(
681 osname, release, machine)
683 return "%s-%s-%s" % (osname, release, machine)