Hackfut Security File Manager
Current Path:
/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils
opt
/
alt
/
python27
/
lib64
/
python2.7
/
site-packages
/
numpy
/
distutils
/
📁
..
📄
__config__.py
(1.73 KB)
📄
__config__.pyc
(1.87 KB)
📄
__config__.pyo
(1.87 KB)
📄
__init__.py
(747 B)
📄
__init__.pyc
(736 B)
📄
__init__.pyo
(736 B)
📄
__version__.py
(151 B)
📄
__version__.pyc
(416 B)
📄
__version__.pyo
(416 B)
📄
ccompiler.py
(23.61 KB)
📄
ccompiler.pyc
(21.52 KB)
📄
ccompiler.pyo
(21.52 KB)
📁
command
📄
compat.py
(218 B)
📄
compat.pyc
(618 B)
📄
compat.pyo
(618 B)
📄
conv_template.py
(9.44 KB)
📄
conv_template.pyc
(9.64 KB)
📄
conv_template.pyo
(9.64 KB)
📄
core.py
(7.77 KB)
📄
core.pyc
(5.91 KB)
📄
core.pyo
(5.91 KB)
📄
cpuinfo.py
(22.41 KB)
📄
cpuinfo.pyc
(45.44 KB)
📄
cpuinfo.pyo
(45.44 KB)
📄
environment.py
(2.29 KB)
📄
environment.pyc
(3.57 KB)
📄
environment.pyo
(3.57 KB)
📄
exec_command.py
(19.96 KB)
📄
exec_command.pyc
(18.12 KB)
📄
exec_command.pyo
(16.73 KB)
📄
extension.py
(2.88 KB)
📄
extension.pyc
(2.67 KB)
📄
extension.pyo
(2.67 KB)
📁
fcompiler
📄
from_template.py
(7.62 KB)
📄
from_template.pyc
(8.48 KB)
📄
from_template.pyo
(8.48 KB)
📄
info.py
(157 B)
📄
info.pyc
(401 B)
📄
info.pyo
(401 B)
📄
intelccompiler.py
(3.99 KB)
📄
intelccompiler.pyc
(5.01 KB)
📄
intelccompiler.pyo
(5.01 KB)
📄
lib2def.py
(3.43 KB)
📄
lib2def.pyc
(3.99 KB)
📄
lib2def.pyo
(3.99 KB)
📄
line_endings.py
(2 KB)
📄
line_endings.pyc
(2.92 KB)
📄
line_endings.pyo
(2.92 KB)
📄
log.py
(2.68 KB)
📄
log.pyc
(3.12 KB)
📄
log.pyo
(3.12 KB)
📁
mingw
📄
mingw32ccompiler.py
(21.21 KB)
📄
mingw32ccompiler.pyc
(16.69 KB)
📄
mingw32ccompiler.pyo
(16.63 KB)
📄
misc_util.py
(79.76 KB)
📄
misc_util.pyc
(76.86 KB)
📄
misc_util.pyo
(76.29 KB)
📄
msvc9compiler.py
(2.16 KB)
📄
msvc9compiler.pyc
(2.67 KB)
📄
msvc9compiler.pyo
(2.67 KB)
📄
msvccompiler.py
(1.97 KB)
📄
msvccompiler.pyc
(2.42 KB)
📄
msvccompiler.pyo
(2.42 KB)
📄
npy_pkg_config.py
(12.93 KB)
📄
npy_pkg_config.pyc
(15.38 KB)
📄
npy_pkg_config.pyo
(15.38 KB)
📄
numpy_distribution.py
(700 B)
📄
numpy_distribution.pyc
(1.12 KB)
📄
numpy_distribution.pyo
(1.12 KB)
📄
pathccompiler.py
(779 B)
📄
pathccompiler.pyc
(1.24 KB)
📄
pathccompiler.pyo
(1.24 KB)
📄
setup.py
(589 B)
📄
setup.pyc
(974 B)
📄
setup.pyo
(974 B)
📄
site.cfg
(174 B)
📄
system_info.py
(82.43 KB)
📄
system_info.pyc
(78.9 KB)
📄
system_info.pyo
(78.78 KB)
📁
tests
📄
unixccompiler.py
(4.55 KB)
📄
unixccompiler.pyc
(3.78 KB)
📄
unixccompiler.pyo
(3.78 KB)
Editing: intelccompiler.py
from __future__ import division, absolute_import, print_function import platform from distutils.unixccompiler import UnixCCompiler from numpy.distutils.exec_command import find_executable from numpy.distutils.ccompiler import simple_version_match if platform.system() == 'Windows': from numpy.distutils.msvc9compiler import MSVCCompiler class IntelCCompiler(UnixCCompiler): """A modified Intel compiler compatible with a GCC-built Python.""" compiler_type = 'intel' cc_exe = 'icc' cc_args = 'fPIC' def __init__(self, verbose=0, dry_run=0, force=0): UnixCCompiler.__init__(self, verbose, dry_run, force) self.cc_exe = ('icc -fPIC -fp-model strict -O3 ' '-fomit-frame-pointer -openmp') compiler = self.cc_exe if platform.system() == 'Darwin': shared_flag = '-Wl,-undefined,dynamic_lookup' else: shared_flag = '-shared' self.set_executables(compiler=compiler, compiler_so=compiler, compiler_cxx=compiler, archiver='xiar' + ' cru', linker_exe=compiler + ' -shared-intel', linker_so=compiler + ' ' + shared_flag + ' -shared-intel') class IntelItaniumCCompiler(IntelCCompiler): compiler_type = 'intele' # On Itanium, the Intel Compiler used to be called ecc, let's search for # it (now it's also icc, so ecc is last in the search). for cc_exe in map(find_executable, ['icc', 'ecc']): if cc_exe: break class IntelEM64TCCompiler(UnixCCompiler): """ A modified Intel x86_64 compiler compatible with a 64bit GCC-built Python. """ compiler_type = 'intelem' cc_exe = 'icc -m64' cc_args = '-fPIC' def __init__(self, verbose=0, dry_run=0, force=0): UnixCCompiler.__init__(self, verbose, dry_run, force) self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 ' '-fomit-frame-pointer -openmp') compiler = self.cc_exe if platform.system() == 'Darwin': shared_flag = '-Wl,-undefined,dynamic_lookup' else: shared_flag = '-shared' self.set_executables(compiler=compiler, compiler_so=compiler, compiler_cxx=compiler, archiver='xiar' + ' cru', linker_exe=compiler + ' -shared-intel', linker_so=compiler + ' ' + shared_flag + ' -shared-intel') if platform.system() == 'Windows': class IntelCCompilerW(MSVCCompiler): """ A modified Intel compiler compatible with an MSVC-built Python. """ compiler_type = 'intelw' compiler_cxx = 'icl' def __init__(self, verbose=0, dry_run=0, force=0): MSVCCompiler.__init__(self, verbose, dry_run, force) version_match = simple_version_match(start='Intel\(R\).*?32,') self.__version = version_match def initialize(self, plat_name=None): MSVCCompiler.initialize(self, plat_name) self.cc = self.find_exe('icl.exe') self.lib = self.find_exe('xilib') self.linker = self.find_exe('xilink') self.compile_options = ['/nologo', '/O3', '/MD', '/W3', '/Qstd=c99'] self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/Qstd=c99', '/Z7', '/D_DEBUG'] class IntelEM64TCCompilerW(IntelCCompilerW): """ A modified Intel x86_64 compiler compatible with a 64bit MSVC-built Python. """ compiler_type = 'intelemw' def __init__(self, verbose=0, dry_run=0, force=0): MSVCCompiler.__init__(self, verbose, dry_run, force) version_match = simple_version_match(start='Intel\(R\).*?64,') self.__version = version_match
Upload File
Create Folder