SILENT KILLERPanel

Current Path: > > usr > lib > python2.7 > site-packages > setuptools > > command >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/python2.7/site-packages/setuptools//command/

NameTypeSizeLast ModifiedActions
__init__.py File 594 bytes April 10 2024 05:04:00.
__init__.pyc File 882 bytes April 10 2024 05:04:00.
__init__.pyo File 882 bytes April 10 2024 05:04:00.
alias.py File 2426 bytes April 10 2024 05:04:00.
alias.pyc File 3098 bytes April 10 2024 05:04:00.
alias.pyo File 3098 bytes April 10 2024 05:04:00.
bdist_egg.py File 18185 bytes April 10 2024 05:04:00.
bdist_egg.pyc File 18388 bytes April 10 2024 05:04:00.
bdist_egg.pyo File 18388 bytes April 10 2024 05:04:00.
bdist_rpm.py File 1508 bytes April 10 2024 05:04:00.
bdist_rpm.pyc File 1914 bytes April 10 2024 05:04:00.
bdist_rpm.pyo File 1914 bytes April 10 2024 05:04:00.
bdist_wininst.py File 637 bytes April 10 2024 05:04:00.
bdist_wininst.pyc File 1191 bytes April 10 2024 05:04:00.
bdist_wininst.pyo File 1191 bytes April 10 2024 05:04:00.
build_clib.py File 4484 bytes April 10 2024 05:04:00.
build_clib.pyc File 2844 bytes April 10 2024 05:04:00.
build_clib.pyo File 2844 bytes April 10 2024 05:04:00.
build_ext.py File 13173 bytes April 10 2024 05:04:00.
build_ext.pyc File 12571 bytes April 10 2024 05:04:00.
build_ext.pyo File 12527 bytes April 10 2024 05:04:00.
build_py.py File 9596 bytes April 10 2024 05:04:00.
build_py.pyc File 10667 bytes April 10 2024 05:04:00.
build_py.pyo File 10667 bytes April 10 2024 05:04:00.
develop.py File 8046 bytes April 10 2024 05:04:00.
develop.pyc File 7900 bytes April 10 2024 05:04:00.
develop.pyo File 7900 bytes April 10 2024 05:04:00.
dist_info.py File 960 bytes April 10 2024 05:04:00.
dist_info.pyc File 1799 bytes April 10 2024 05:04:00.
dist_info.pyo File 1799 bytes April 10 2024 05:04:00.
easy_install.py File 87032 bytes April 10 2024 05:04:00.
easy_install.pyc File 80382 bytes April 10 2024 05:04:00.
easy_install.pyo File 80325 bytes April 10 2024 05:04:00.
egg_info.py File 24800 bytes April 10 2024 05:04:00.
egg_info.pyc File 25896 bytes April 10 2024 05:04:00.
egg_info.pyo File 25896 bytes April 10 2024 05:04:00.
install.py File 4683 bytes April 10 2024 05:04:00.
install.pyc File 4953 bytes April 10 2024 05:04:00.
install.pyo File 4953 bytes April 10 2024 05:04:00.
install_egg_info.py File 2203 bytes April 10 2024 05:04:00.
install_egg_info.pyc File 3185 bytes April 10 2024 05:04:00.
install_egg_info.pyo File 3185 bytes April 10 2024 05:04:00.
install_lib.py File 3840 bytes April 10 2024 05:04:00.
install_lib.pyc File 4870 bytes April 10 2024 05:04:00.
install_lib.pyo File 4824 bytes April 10 2024 05:04:00.
install_scripts.py File 2439 bytes April 10 2024 05:04:00.
install_scripts.pyc File 2891 bytes April 10 2024 05:04:00.
install_scripts.pyo File 2891 bytes April 10 2024 05:04:00.
launcher manifest.xml File 628 bytes April 10 2024 05:04:00.
py36compat.py File 4986 bytes April 10 2024 05:04:00.
py36compat.pyc File 5550 bytes April 10 2024 05:04:00.
py36compat.pyo File 5550 bytes April 10 2024 05:04:00.
register.py File 270 bytes April 10 2024 05:04:00.
register.pyc File 710 bytes April 10 2024 05:04:00.
register.pyo File 710 bytes April 10 2024 05:04:00.
rotate.py File 2164 bytes April 10 2024 05:04:00.
rotate.pyc File 3036 bytes April 10 2024 05:04:00.
rotate.pyo File 3036 bytes April 10 2024 05:04:00.
saveopts.py File 658 bytes April 10 2024 05:04:00.
saveopts.pyc File 1129 bytes April 10 2024 05:04:00.
saveopts.pyo File 1129 bytes April 10 2024 05:04:00.
sdist.py File 6711 bytes April 10 2024 05:04:00.
sdist.pyc File 7823 bytes April 10 2024 05:04:00.
sdist.pyo File 7823 bytes April 10 2024 05:04:00.
setopt.py File 5085 bytes April 10 2024 05:04:00.
setopt.pyc File 6050 bytes April 10 2024 05:04:00.
setopt.pyo File 6050 bytes April 10 2024 05:04:00.
test.py File 9214 bytes April 10 2024 05:04:00.
test.pyc File 10468 bytes April 10 2024 05:04:00.
test.pyo File 10468 bytes April 10 2024 05:04:00.
upload.py File 1172 bytes April 10 2024 05:04:00.
upload.pyc File 1636 bytes April 10 2024 05:04:00.
upload.pyo File 1636 bytes April 10 2024 05:04:00.
upload_docs.py File 7311 bytes April 10 2024 05:04:00.
upload_docs.pyc File 7842 bytes April 10 2024 05:04:00.
upload_docs.pyo File 7813 bytes April 10 2024 05:04:00.

Reading File: //usr/lib/python2.7/site-packages/setuptools//command//py36compat.py

import os
from glob import glob
from distutils.util import convert_path
from distutils.command import sdist

from setuptools.extern.six.moves import filter


class sdist_add_defaults:
    """
    Mix-in providing forward-compatibility for functionality as found in
    distutils on Python 3.7.

    Do not edit the code in this class except to update functionality
    as implemented in distutils. Instead, override in the subclass.
    """

    def add_defaults(self):
        """Add all the default files to self.filelist:
          - README or README.txt
          - setup.py
          - test/test*.py
          - all pure Python modules mentioned in setup script
          - all files pointed by package_data (build_py)
          - all files defined in data_files.
          - all files defined as scripts.
          - all C sources listed as part of extensions or C libraries
            in the setup script (doesn't catch C headers!)
        Warns if (README or README.txt) or setup.py are missing; everything
        else is optional.
        """
        self._add_defaults_standards()
        self._add_defaults_optional()
        self._add_defaults_python()
        self._add_defaults_data_files()
        self._add_defaults_ext()
        self._add_defaults_c_libs()
        self._add_defaults_scripts()

    @staticmethod
    def _cs_path_exists(fspath):
        """
        Case-sensitive path existence check

        >>> sdist_add_defaults._cs_path_exists(__file__)
        True
        >>> sdist_add_defaults._cs_path_exists(__file__.upper())
        False
        """
        if not os.path.exists(fspath):
            return False
        # make absolute so we always have a directory
        abspath = os.path.abspath(fspath)
        directory, filename = os.path.split(abspath)
        return filename in os.listdir(directory)

    def _add_defaults_standards(self):
        standards = [self.READMES, self.distribution.script_name]
        for fn in standards:
            if isinstance(fn, tuple):
                alts = fn
                got_it = False
                for fn in alts:
                    if self._cs_path_exists(fn):
                        got_it = True
                        self.filelist.append(fn)
                        break

                if not got_it:
                    self.warn("standard file not found: should have one of " +
                              ', '.join(alts))
            else:
                if self._cs_path_exists(fn):
                    self.filelist.append(fn)
                else:
                    self.warn("standard file '%s' not found" % fn)

    def _add_defaults_optional(self):
        optional = ['test/test*.py', 'setup.cfg']
        for pattern in optional:
            files = filter(os.path.isfile, glob(pattern))
            self.filelist.extend(files)

    def _add_defaults_python(self):
        # build_py is used to get:
        #  - python modules
        #  - files defined in package_data
        build_py = self.get_finalized_command('build_py')

        # getting python files
        if self.distribution.has_pure_modules():
            self.filelist.extend(build_py.get_source_files())

        # getting package_data files
        # (computed in build_py.data_files by build_py.finalize_options)
        for pkg, src_dir, build_dir, filenames in build_py.data_files:
            for filename in filenames:
                self.filelist.append(os.path.join(src_dir, filename))

    def _add_defaults_data_files(self):
        # getting distribution.data_files
        if self.distribution.has_data_files():
            for item in self.distribution.data_files:
                if isinstance(item, str):
                    # plain file
                    item = convert_path(item)
                    if os.path.isfile(item):
                        self.filelist.append(item)
                else:
                    # a (dirname, filenames) tuple
                    dirname, filenames = item
                    for f in filenames:
                        f = convert_path(f)
                        if os.path.isfile(f):
                            self.filelist.append(f)

    def _add_defaults_ext(self):
        if self.distribution.has_ext_modules():
            build_ext = self.get_finalized_command('build_ext')
            self.filelist.extend(build_ext.get_source_files())

    def _add_defaults_c_libs(self):
        if self.distribution.has_c_libraries():
            build_clib = self.get_finalized_command('build_clib')
            self.filelist.extend(build_clib.get_source_files())

    def _add_defaults_scripts(self):
        if self.distribution.has_scripts():
            build_scripts = self.get_finalized_command('build_scripts')
            self.filelist.extend(build_scripts.get_source_files())


if hasattr(sdist.sdist, '_add_defaults_standards'):
    # disable the functionality already available upstream
    class sdist_add_defaults:
        pass

SILENT KILLER Tool