(opts=None, use_huge=True, suite=None)
| 230 | |
| 231 | |
| 232 | def get_python_cmd(opts=None, use_huge=True, suite=None): |
| 233 | if opts and getattr(opts, 'flags', {}).get("USE_ARCADIA_PYTHON") == "no": |
| 234 | return ["python"] |
| 235 | if suite and not suite._use_arcadia_python: |
| 236 | return ["python"] |
| 237 | if use_huge: |
| 238 | return ["$(PYTHON)/python"] |
| 239 | ymake_path = opts.ymake_bin if opts and getattr(opts, 'ymake_bin', None) else "$(YMAKE)/ymake" |
| 240 | return [ymake_path, "--python"] |
| 241 | |
| 242 | |
| 243 | def normalize_name(name): |