Home | History | Annotate | Download | only in tools

Lines Matching defs:plat

27 plat = sys.platform.lower()
29 if plat[:5] == 'linux': # Linux (confirmed)
32 elif plat == 'cygwin': # cygwin/win32
37 elif plat[:7] == 'openbsd': # OpenBSD
42 elif plat[:3] == 'bsd' or \
43 plat[:7] == 'freebsd':
49 elif plat[:6] == 'darwin': # OS X (confirmed)
52 elif plat[:6] == 'netbsd': # NetBSD
58 elif plat[:4] == 'irix': # IRIX
64 elif plat[:2] == 'hp': # HP-UX (not tested)
70 elif plat[:5] == 'sunos': # Solaris/SunOS
76 elif plat[:3] == 'aix': # AIX