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: clean.py Size: 2.71 KB
/lib64/python3.6/distutils/command/clean.py

"""distutils.command.clean

Implements the Distutils 'clean' command."""

# contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18

import os
from distutils.core import Command
from distutils.dir_util import remove_tree
from distutils import log

class clean(Command):

    description = "clean up temporary files from 'build' command"
    user_options = [
        ('build-base=', 'b',
         "base build directory (default: 'build.build-base')"),
        ('build-lib=', None,
         "build directory for all modules (default: 'build.build-lib')"),
        ('build-temp=', 't',
         "temporary build directory (default: 'build.build-temp')"),
        ('build-scripts=', None,
         "build directory for scripts (default: 'build.build-scripts')"),
        ('bdist-base=', None,
         "temporary directory for built distributions"),
        ('all', 'a',
         "remove all build output, not just temporary by-products")
    ]

    boolean_options = ['all']

    def initialize_options(self):
        self.build_base = None
        self.build_lib = None
        self.build_temp = None
        self.build_scripts = None
        self.bdist_base = None
        self.all = None

    def finalize_options(self):
        self.set_undefined_options('build',
                                   ('build_base', 'build_base'),
                                   ('build_lib', 'build_lib'),
                                   ('build_scripts', 'build_scripts'),
                                   ('build_temp', 'build_temp'))
        self.set_undefined_options('bdist',
                                   ('bdist_base', 'bdist_base'))

    def run(self):
        # remove the build/temp.<plat> directory (unless it's already
        # gone)
        if os.path.exists(self.build_temp):
            remove_tree(self.build_temp, dry_run=self.dry_run)
        else:
            log.debug("'%s' does not exist -- can't clean it",
                      self.build_temp)

        if self.all:
            # remove build directories
            for directory in (self.build_lib,
                              self.bdist_base,
                              self.build_scripts):
                if os.path.exists(directory):
                    remove_tree(directory, dry_run=self.dry_run)
                else:
                    log.warn("'%s' does not exist -- can't clean it",
                             directory)

        # just for the heck of it, try to remove the base build directory:
        # we might have emptied it right now, but if not we don't care
        if not self.dry_run:
            try:
                os.rmdir(self.build_base)
                log.info("removing '%s'", self.build_base)
            except OSError:
                pass

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