OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
numpy
/
distutils
/
command
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📄
__init__.py
1.07 KB
09/17/2017 01:29:38 PM
rw-r--r--
📁
__pycache__
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📄
autodist.py
2 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
bdist_rpm.py
775 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
build.py
1.58 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
build_clib.py
11.93 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
build_ext.py
21.97 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
build_py.py
1.18 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
build_scripts.py
1.69 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
build_src.py
30.22 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
config.py
17.58 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
config_compiler.py
4.28 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
develop.py
641 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
egg_info.py
987 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
install.py
3.05 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
install_clib.py
1.28 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
install_data.py
914 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
install_headers.py
985 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
sdist.py
799 bytes
09/17/2017 01:29:38 PM
rw-r--r--
Editing: build.py
Close
from __future__ import division, absolute_import, print_function import os import sys from distutils.command.build import build as old_build from distutils.util import get_platform from numpy.distutils.command.config_compiler import show_fortran_compilers class build(old_build): sub_commands = [('config_cc', lambda *args: True), ('config_fc', lambda *args: True), ('build_src', old_build.has_ext_modules), ] + old_build.sub_commands user_options = old_build.user_options + [ ('fcompiler=', None, "specify the Fortran compiler type"), ('parallel=', 'j', "number of parallel jobs"), ] help_options = old_build.help_options + [ ('help-fcompiler', None, "list available Fortran compilers", show_fortran_compilers), ] def initialize_options(self): old_build.initialize_options(self) self.fcompiler = None self.parallel = None def finalize_options(self): if self.parallel: try: self.parallel = int(self.parallel) except ValueError: raise ValueError("--parallel/-j argument must be an integer") build_scripts = self.build_scripts old_build.finalize_options(self) plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3]) if build_scripts is None: self.build_scripts = os.path.join(self.build_base, 'scripts' + plat_specifier) def run(self): old_build.run(self)