Download mgm/lib/python3.10/site-packages/numpy/distutils/fcompiler/none.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 758 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/site-packages/numpy/distutils/fcompiler/none.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/mgm/lib/python3.10/site-packages/numpy/distutils/fcompiler/none.py
-
curl -L -o none.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/site-packages/numpy/distutils/fcompiler/none.py
758 Bytes
| from numpy.distutils.fcompiler import FCompiler | |
| from numpy.distutils import customized_fcompiler | |
| compilers = ['NoneFCompiler'] | |
| class NoneFCompiler(FCompiler): | |
| compiler_type = 'none' | |
| description = 'Fake Fortran compiler' | |
| executables = {'compiler_f77': None, | |
| 'compiler_f90': None, | |
| 'compiler_fix': None, | |
| 'linker_so': None, | |
| 'linker_exe': None, | |
| 'archiver': None, | |
| 'ranlib': None, | |
| 'version_cmd': None, | |
| } | |
| def find_executables(self): | |
| pass | |
| if __name__ == '__main__': | |
| from distutils import log | |
| log.set_verbosity(2) | |
| print(customized_fcompiler(compiler='none').get_version()) | |