gpt2-small-repla / gpt2eval_env /lib /python3.11 /site-packages /setuptools /_distutils /_msvccompiler.py
Download gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/_msvccompiler.py from michaelxing/gpt2-small-repla: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/_msvccompiler.py
- Command line
-
hf download hf://michaelxing/gpt2-small-repla/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/_msvccompiler.py
-
curl -L -o _msvccompiler.py https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/_msvccompiler.py
335 Bytes
| import warnings | |
| from .compilers.C import msvc | |
| __all__ = ["MSVCCompiler"] | |
| MSVCCompiler = msvc.Compiler | |
| def __getattr__(name): | |
| if name == '_get_vc_env': | |
| warnings.warn( | |
| "_get_vc_env is private; find an alternative (pypa/distutils#340)" | |
| ) | |
| return msvc._get_vc_env | |
| raise AttributeError(name) | |