Home | History | Annotate | Download | only in Lib

Lines Matching refs:osname

640     osname, host, release, version, machine = os.uname()
644 osname = osname.lower().replace('/', '')
648 if osname[:5] == "linux":
652 return "%s-%s" % (osname, machine)
653 elif osname[:5] == "sunos":
655 osname = "solaris"
662 # fall through to standard osname-release-machine representation
663 elif osname[:3] == "aix":
664 return "%s-%s.%s" % (osname, version, release)
665 elif osname[:6] == "cygwin":
666 osname = "cygwin"
672 elif osname[:6] == "darwin":
674 osname, release, machine = _osx_support.get_platform_osx(
676 osname, release, machine)
678 return "%s-%s-%s" % (osname, release, machine)