Lines Matching refs:sys
75 import sys
81 if (sys.version_info.major == 2
82 and sys.version_info.minor == 7
83 and sys.version_info.micro < 13):
85 (sys.version_info.major, sys.version_info.minor,
86 sys.version_info.micro))
97 sys.exit(1)
102 if sys.version_info.major == 3:
103 sys.path.insert(0, os.path.dirname(sysconfig.get_paths()['purelib']))
269 sys.exit(constants.EXIT_BY_WRONG_CMD)
477 sys.stderr.write(error_msg)
487 sys.stderr.write("Encountered the following errors:\n%s\n\n%s.\n" %
497 LOG_METRICS = metrics.LogUsage(sys.argv[1:])
499 EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:])