Home | History | Annotate | Download | only in scripts

Lines Matching refs:platform

6 import platform
100 return sys.platform.startswith('linux')
104 return sys.platform.startswith('darwin')
108 return sys.platform == 'cygwin' or sys.platform.startswith('win')
116 if sys.platform == 'cygwin':
120 version_str = platform.uname()[0].split('-')[1]
123 elif sys.platform.startswith('win'):
125 version_str = platform.version()
148 """Return an array of string to be used in paths for the platform
150 The first element of the array describes the 'main' platform
162 raise NotImplementedError('Unknown platform "%s".' % sys.platform)
220 if sys.platform.startswith("cygwin"):