()
| 871 | |
| 872 | |
| 873 | def get_available_python_compilers(): |
| 874 | all_python_compilers = OrderedDict([ |
| 875 | ("2008", VS2008_VCVARS), |
| 876 | ("2010", VS2010_VCVARS), |
| 877 | ("2015", VS2015_VCVARS), |
| 878 | ]) |
| 879 | ret_compilers = OrderedDict() |
| 880 | for msvs in all_python_compilers: |
| 881 | vcvars = all_python_compilers[msvs] |
| 882 | if os.path.exists(vcvars): |
| 883 | ret_compilers[msvs] = vcvars |
| 884 | else: |
| 885 | print("[automate.py] INFO: Visual Studio compiler not found:" |
| 886 | " {vcvars}".format(vcvars=vcvars)) |
| 887 | return ret_compilers |
| 888 | |
| 889 | |
| 890 | def get_vcvars_for_python(): |
no outgoing calls
no test coverage detected