OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
skbuild
/
command
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 05:59:08 AM
rwxr-xr-x
📄
__init__.py
1.02 KB
10/28/2024 05:59:06 AM
rw-r--r--
📁
__pycache__
-
10/28/2024 05:59:08 AM
rwxr-xr-x
📄
bdist.py
312 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
bdist_wheel.py
1.62 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
build.py
337 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
build_ext.py
1.81 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
build_py.py
3.96 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
clean.py
983 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
egg_info.py
1.95 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
generate_source_manifest.py
3.32 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
install.py
963 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
install_lib.py
775 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
install_scripts.py
753 bytes
10/28/2024 05:59:06 AM
rw-r--r--
📄
sdist.py
1.49 KB
10/28/2024 05:59:06 AM
rw-r--r--
📄
test.py
456 bytes
10/28/2024 05:59:06 AM
rw-r--r--
Editing: clean.py
Close
"""This module defines custom implementation of ``clean`` setuptools command.""" import os from shutil import rmtree import setuptools # noqa: F401 from distutils.command.clean import clean as _clean from ..constants import CMAKE_BUILD_DIR, CMAKE_INSTALL_DIR, SKBUILD_DIR from ..utils import logger from . import set_build_base_mixin class clean(set_build_base_mixin, _clean): """Custom implementation of ``clean`` setuptools command.""" def run(self) -> None: """After calling the super class implementation, this function removes the directories specific to scikit-build.""" super().run() for dir_ in (CMAKE_INSTALL_DIR(), CMAKE_BUILD_DIR(), SKBUILD_DIR()): if os.path.exists(dir_): logger.info("removing '%s'", dir_) # This seems to be there but isn't typed in the stubs TODO if not self.dry_run and os.path.exists(dir_): # type: ignore[attr-defined] rmtree(dir_)