$92 GRAYBYTE WORDPRESS FILE MANAGER $99

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib/python3.4/site-packages/setuptools/command/

HOME
Current File : /opt/alt/python34/lib/python3.4/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()
    




























Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__init__.py
0.54 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
alias.py
2.428 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
bdist_egg.py
18.279 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
bdist_rpm.py
1.978 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
bdist_wininst.py
2.229 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
build_ext.py
11.576 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
build_py.py
8.242 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
develop.py
6.296 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
easy_install.py
71.012 KB
13 Nov 2023 9.21 PM
root / linksafe
0755
egg_info.py
13.984 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
install.py
3.97 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
install_egg_info.py
3.743 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
install_lib.py
2.428 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
install_scripts.py
2.02 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
register.py
0.271 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
rotate.py
2.014 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
saveopts.py
0.688 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
sdist.py
8.146 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
setopt.py
4.949 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
test.py
5.793 KB
13 Nov 2023 9.21 PM
root / linksafe
0644
upload_docs.py
6.647 KB
13 Nov 2023 9.21 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF