Viewing File: /opt/alt/python311/lib64/python3.11/distutils/command/__pycache__/clean.cpython-311.opt-1.pyc
f
R d Z ddlZddlmZ ddlmZ ddlmZ G d de ZdS )zBdistutils.command.clean
Implements the Distutils 'clean' command. N)Command)remove_tree)logc 2 e Zd ZdZg dZdgZd Zd Zd ZdS )cleanz-clean up temporary files from 'build' command))zbuild-base=bz2base build directory (default: 'build.build-base'))z
build-lib=Nz<build directory for all modules (default: 'build.build-lib'))zbuild-temp=tz7temporary build directory (default: 'build.build-temp'))zbuild-scripts=Nz<build directory for scripts (default: 'build.build-scripts'))zbdist-base=Nz+temporary directory for built distributions)allaz7remove all build output, not just temporary by-productsr
c Z d | _ d | _ d | _ d | _ d | _ d | _ d S )N)
build_base build_lib
build_temp
build_scripts
bdist_baser
selfs >/opt/alt/python311/lib64/python3.11/distutils/command/clean.pyinitialize_optionszclean.initialize_options s1 ! c d | ddddd | dd d S )Nbuild)r
r
)r r )r r )r r bdist)r r )set_undefined_optionsr s r finalize_optionszclean.finalize_options( sY ""7#?#=#E#? A A A
""7#? A A A A Ar c ( t j | j rt | j | j nt
j d| j | j rb| j | j
| j fD ]M}t j | rt || j 8t
j d| N| j sG t j
| j t
j d| j d S # t $ r Y d S w xY wd S )N)dry_runz%'%s' does not exist -- can't clean itz
removing '%s')ospathexistsr r r r debugr
r r r warnrmdirr
infoOSError)r directorys r runz clean.run1 s7 7>>$/** '>>>>>I=o
'
'
' 8 ("n"o"02
(
( 7>>),, ( 4<@@@@@HD&( ( ( (
|
)))$/:::::
s 3D
DDN) __name__
__module____qualname__descriptionuser_optionsboolean_optionsr r r' r r r r sc AK
L gO A A A r r ) __doc__r distutils.corer distutils.dir_utilr distutilsr r r. r r <module>r3 s - -
"