Lines Matching defs:sys
10 import sys
159 if sys.exec_prefix != sys.base_exec_prefix:
160 self.include_dirs.append(os.path.join(sys.exec_prefix, 'include'))
193 self.library_dirs.append(os.path.join(sys.exec_prefix, 'libs'))
194 if sys.base_exec_prefix != sys.prefix: # Issue 16116
195 self.library_dirs.append(os.path.join(sys.base_exec_prefix, 'libs'))
204 _sys_home = getattr(sys, '_home', None)
214 new_lib = os.path.join(sys.exec_prefix, 'PCbuild')
221 if sys.platform[:6] == 'cygwin':
222 if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
224 self.library_dirs.append(os.path.join(sys.prefix, "lib",
715 if sys.platform == "win32":
722 (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
739 if hasattr(sys, 'getandroidapilevel'):
741 elif sys.platform == 'cygwin':