PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: install_scripts.py Size: 1.97 KB
//lib64/python3.6/distutils/command/install_scripts.py

"""distutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts."""

# contributed by Bastian Kleineidam

import os
from distutils.core import Command
from distutils import log
from stat import ST_MODE


class install_scripts(Command):

    description = "install scripts (Python or otherwise)"

    user_options = [
        ('install-dir=', 'd', "directory to install scripts to"),
        ('build-dir=','b', "build directory (where to install from)"),
        ('force', 'f', "force installation (overwrite existing files)"),
        ('skip-build', None, "skip the build steps"),
    ]

    boolean_options = ['force', 'skip-build']

    def initialize_options(self):
        self.install_dir = None
        self.force = 0
        self.build_dir = None
        self.skip_build = None

    def finalize_options(self):
        self.set_undefined_options('build', ('build_scripts', 'build_dir'))
        self.set_undefined_options('install',
                                   ('install_scripts', 'install_dir'),
                                   ('force', 'force'),
                                   ('skip_build', 'skip_build'),
                                  )

    def run(self):
        if not self.skip_build:
            self.run_command('build_scripts')
        self.outfiles = self.copy_tree(self.build_dir, self.install_dir)
        if os.name == 'posix':
            # Set the executable bits (owner, group, and world) on
            # all the scripts we just installed.
            for file in self.get_outputs():
                if self.dry_run:
                    log.info("changing mode of %s", file)
                else:
                    mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
                    log.info("changing mode of %s to %o", file, mode)
                    os.chmod(file, mode)

    def get_inputs(self):
        return self.distribution.scripts or []

    def get_outputs(self):
        return self.outfiles or []

Directory Contents

Dirs: 1 × Files: 24

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 23:01:23
Edit Download
5.43 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
4.80 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
34.41 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
21.16 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
15.20 KB lrw-r--r-- 2026-02-05 20:00:12
Edit Download
5.61 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
7.83 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
30.75 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
16.76 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
6.09 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
5.37 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
2.71 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
633 B lrw-r--r-- 2018-12-23 21:37:14
Edit Download
12.78 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
26.63 KB lrw-r--r-- 2026-02-05 20:00:12
Edit Download
2.76 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
2.54 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
1.27 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
8.20 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
1.97 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
11.44 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
17.41 KB lrw-r--r-- 2018-12-23 21:37:14
Edit Download
7.49 KB lrw-r--r-- 2026-02-05 20:00:12
Edit Download
799 B lrw-r--r-- 2018-12-23 21:37:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI