_msvccompiler.py 335 B

12345678910111213141516
  1. import warnings
  2. from .compilers.C import msvc
  3. __all__ = ["MSVCCompiler"]
  4. MSVCCompiler = msvc.Compiler
  5. def __getattr__(name):
  6. if name == '_get_vc_env':
  7. warnings.warn(
  8. "_get_vc_env is private; find an alternative (pypa/distutils#340)"
  9. )
  10. return msvc._get_vc_env
  11. raise AttributeError(name)