SILENT KILLERPanel

Current Path: > > opt > alt > > python33 > lib > python3.3 > 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: //opt/alt//python33/lib/python3.3/site-packages/setuptools/command/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 553 bytes November 13 2023 21:19:28.
alias.py File 2486 bytes November 13 2023 21:19:28.
bdist_egg.py File 18718 bytes November 13 2023 21:19:28.
bdist_rpm.py File 2025 bytes November 13 2023 21:19:28.
bdist_wininst.py File 2283 bytes November 13 2023 21:19:28.
build_ext.py File 11854 bytes November 13 2023 21:19:28.
build_py.py File 8440 bytes November 13 2023 21:19:28.
develop.py File 6447 bytes November 13 2023 21:19:28.
easy_install.py File 72716 bytes November 13 2023 21:19:28.
egg_info.py File 14320 bytes November 13 2023 21:19:28.
install.py File 4065 bytes November 13 2023 21:19:28.
install_egg_info.py File 3833 bytes November 13 2023 21:19:28.
install_lib.py File 2486 bytes November 13 2023 21:19:28.
install_scripts.py File 2068 bytes November 13 2023 21:19:28.
register.py File 277 bytes November 13 2023 21:19:28.
rotate.py File 2062 bytes November 13 2023 21:19:28.
saveopts.py File 705 bytes November 13 2023 21:19:28.
sdist.py File 8341 bytes November 13 2023 21:19:28.
setopt.py File 5068 bytes November 13 2023 21:19:28.
test.py File 5932 bytes November 13 2023 21:19:28.
upload_docs.py File 6807 bytes November 13 2023 21:19:28.

Reading File: //opt/alt//python33/lib/python3.3/site-packages/setuptools/command//bdist_wininst.py

from distutils.command.bdist_wininst import bdist_wininst as _bdist_wininst
import os, sys

class bdist_wininst(_bdist_wininst):
    _good_upload = _bad_upload = None

    def create_exe(self, arcname, fullname, bitmap=None):
        _bdist_wininst.create_exe(self, arcname, fullname, bitmap)
        installer_name = self.get_installer_filename(fullname) 
        if self.target_version:
            pyversion = self.target_version
            # fix 2.5+ bdist_wininst ignoring --target-version spec
            self._bad_upload = ('bdist_wininst', 'any', installer_name)
        else:
            pyversion = 'any'
        self._good_upload = ('bdist_wininst', pyversion, installer_name)
        
    def _fix_upload_names(self):
        good, bad = self._good_upload, self._bad_upload
        dist_files = getattr(self.distribution, 'dist_files', [])
        if bad in dist_files:
            dist_files.remove(bad)
        if good not in dist_files:
            dist_files.append(good)

    def reinitialize_command (self, command, reinit_subcommands=0):
        cmd = self.distribution.reinitialize_command(
            command, reinit_subcommands)
        if command in ('install', 'install_lib'):
            cmd.install_lib = None  # work around distutils bug
        return cmd

    def run(self):
        self._is_running = True
        try:
            _bdist_wininst.run(self)
            self._fix_upload_names()
        finally:
            self._is_running = False


    if not hasattr(_bdist_wininst, 'get_installer_filename'):
        def get_installer_filename(self, fullname):
            # Factored out to allow overriding in subclasses
            if self.target_version:
                # if we create an installer for a specific python version,
                # it's better to include this in the name
                installer_name = os.path.join(self.dist_dir,
                                              "%s.win32-py%s.exe" %
                                               (fullname, self.target_version))
            else:
                installer_name = os.path.join(self.dist_dir,
                                              "%s.win32.exe" % fullname)
            return installer_name
    # get_installer_filename()
    



























SILENT KILLER Tool