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: sdist.py
Close
"""This module defines custom implementation of ``sdist`` setuptools command.""" from typing import Optional, Sequence from setuptools.command.sdist import sdist as _sdist from ..utils import distribution_hide_listing, logger from . import CommandMixinProtocol, set_build_base_mixin class sdist(set_build_base_mixin, _sdist): """Custom implementation of ``sdist`` setuptools command.""" def make_release_tree(self: CommandMixinProtocol, base_dir: str, files: Sequence[str]) -> None: """Handle --hide-listing option.""" with distribution_hide_listing(self.distribution): super().make_release_tree(base_dir, files) # type: ignore[misc] logger.info("copied %d files", len(files)) def make_archive( self, base_name: str, _format: str, root_dir: Optional[str] = None, base_dir: Optional[str] = None, owner: Optional[str] = None, group: Optional[str] = None, ) -> str: """Handle --hide-listing option.""" logger.info("creating '%s' %s archive and adding '%s' to it", base_name, _format, base_dir) with distribution_hide_listing(self.distribution): # type: ignore[attr-defined] return super().make_archive(base_name, _format, root_dir, base_dir, owner, group) def run(self, *args: object, **kwargs: object) -> None: """Force :class:`.egg_info.egg_info` command to run.""" self.run_command("generate_source_manifest") super().run(*args, **kwargs)