OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
venv
/
lib
/
python3.6
/
site-packages
/
setuptools
/
_distutils
/
command
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 06:58:41 AM
rwxr-xr-x
📄
__init__.py
799 bytes
05/09/2024 06:58:41 AM
rw-r--r--
📄
bdist.py
5.43 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
bdist_dumb.py
4.8 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
bdist_msi.py
34.75 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
bdist_rpm.py
21.03 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
bdist_wininst.py
15.65 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
build.py
5.64 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
build_clib.py
7.83 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
build_ext.py
30.87 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
build_py.py
16.11 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
build_scripts.py
5.82 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
check.py
5.5 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
clean.py
2.71 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
config.py
12.81 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install.py
28.29 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install_data.py
2.76 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install_egg_info.py
2.69 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install_headers.py
1.27 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install_lib.py
8.2 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
install_scripts.py
1.97 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
py37compat.py
671 bytes
05/09/2024 06:58:41 AM
rw-r--r--
📄
register.py
11.44 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
sdist.py
18.56 KB
05/09/2024 06:58:41 AM
rw-r--r--
📄
upload.py
7.42 KB
05/09/2024 06:58:41 AM
rw-r--r--
Editing: install_headers.py
Close
"""distutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.""" from distutils.core import Command # XXX force is never used class install_headers(Command): description = "install C/C++ header files" user_options = [('install-dir=', 'd', "directory to install header files to"), ('force', 'f', "force installation (overwrite existing files)"), ] boolean_options = ['force'] def initialize_options(self): self.install_dir = None self.force = 0 self.outfiles = [] def finalize_options(self): self.set_undefined_options('install', ('install_headers', 'install_dir'), ('force', 'force')) def run(self): headers = self.distribution.headers if not headers: return self.mkpath(self.install_dir) for header in headers: (out, _) = self.copy_file(header, self.install_dir) self.outfiles.append(out) def get_inputs(self): return self.distribution.headers or [] def get_outputs(self): return self.outfiles