관리-도구
편집 파일: clean.cpython-39.pyc
a �������f� ����������������������@���sD���d�Z�ddlZddlmZ�ddlmZ�ddlmZ�G�dd��de�ZdS�)zBdistutils.command.clean Implements the Distutils 'clean' command.�����N)�Command)�remove_tree)�logc�������������������@���s6���e�Zd�ZdZg�d�ZdgZdd��Zdd��Zdd ��Zd S�)�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)�all�az7remove all build output, not just temporary by-productsr���c�����������������C���s(���d�|�_�d�|�_d�|�_d�|�_d�|�_d�|�_d�S�)N)� build_base� build_lib� build_temp� build_scripts� bdist_baser�����self��r����G/usr/lib/python3.9/site-packages/setuptools/_distutils/command/clean.py�initialize_options ���s����zclean.initialize_optionsc�����������������C���s"���|���ddddd��|���dd��d�S�)NZbuild)r ���r ���)r���r���)r ���r ���)r���r���Zbdist)r���r���)Zset_undefined_optionsr���r���r���r����finalize_options(���s������zclean.finalize_optionsc�����������������C���s����t�j�|�j�r t|�j|�jd��nt�d|�j��|�jrr|�j |�j |�jfD�],}t�j�|�rdt||�jd��qDt�d|��qD|�js�zt�� |�j��t�d|�j��W�n�ty����Y�n0�d�S�)N)�dry_runz%'%s' does not exist -- can't clean itz removing '%s')�os�path�existsr���r���r���r����debugr���r���r���r ����warn�rmdirr ����info�OSError)r���Z directoryr���r���r����run1���s*�������z clean.runN) �__name__� __module__�__qualname__�descriptionZuser_optionsZboolean_optionsr���r���r���r���r���r���r���r������s��� r���) �__doc__r���Zdistutils.corer���Zdistutils.dir_utilr���Z distutilsr���r���r���r���r���r����<module>���s ���