MCPcopy Create free account
hub / github.com/cztomczak/cefpython / get_available_python_compilers

Function get_available_python_compilers

tools/automate.py:873–887  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

871
872
873def 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
890def get_vcvars_for_python():

Callers 2

create_prebuilt_binariesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected