(msg, V=1)
| 124 | should_log = {level: TRACER.should_log(V=level) for level in range(1, 10)} |
| 125 | |
| 126 | def log(msg, V=1): |
| 127 | if should_log.get(V, False): |
| 128 | print("pex: {}".format(msg), file=sys.stderr) |
| 129 | |
| 130 | # Remove the third party resources pex uses and demote pex bootstrap code to the end of |
| 131 | # sys.path for the duration of the run to allow conflicting versions supplied by user |