관리-도구
편집 파일: bdist_rpm.cpython-39.opt-1.pyc
a ���f� � @ s( d dl m mZ G dd� dej�ZdS )� Nc @ s e Zd ZdZdd� Zdd� ZdS )� bdist_rpma Override the default bdist_rpm behavior to do the following: 1. Run egg_info to ensure the name and version are properly calculated. 2. Always run 'install' using --single-version-externally-managed to disable eggs in RPM distributions. c C s | � d� tj�| � d S )NZegg_info)Zrun_command�origr �run)�self� r �@/usr/lib/python3.9/site-packages/setuptools/command/bdist_rpm.pyr s z bdist_rpm.runc C s t j�| �}dd� |D �}|S )Nc S s g | ]}|� d d�� dd��qS )zsetup.py install z5setup.py install --single-version-externally-managed z%setupz&%setup -n %{name}-%{unmangled_version})�replace)�.0�liner r r � <listcomp> s ���z-bdist_rpm._make_spec_file.<locals>.<listcomp>)r r �_make_spec_file)r �specr r r r s � zbdist_rpm._make_spec_fileN)�__name__� __module__�__qualname__�__doc__r r r r r r r s r )Zdistutils.command.bdist_rpmZcommandr r r r r r �<module> s