Home | History | Annotate | Download | only in python2.7

Lines Matching refs:osname

584     osname, host, release, version, machine = os.uname()
588 osname = osname.lower().replace('/', '')
592 if osname[:5] == "linux":
596 return "%s-%s" % (osname, machine)
597 elif osname[:5] == "sunos":
599 osname = "solaris"
606 # fall through to standard osname-release-machine representation
607 elif osname[:4] == "irix": # could be "irix64"!
608 return "%s-%s" % (osname, release)
609 elif osname[:3] == "aix":
610 return "%s-%s.%s" % (osname, version, release)
611 elif osname[:6] == "cygwin":
612 osname = "cygwin"
617 elif osname[:6] == "darwin":
619 osname, release, machine = _osx_support.get_platform_osx(
621 osname, release, machine)
623 return "%s-%s-%s" % (osname, release, machine)