| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/command/__pycache__/ |
Upload File : |
a
��e � @ s4 d dl m mZ ddlmZ G dd� dej�ZdS )� N� )�SetuptoolsDeprecationWarningc @ 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, t jddddd� | �d� tj�| � d S )NzDeprecated commandz�
bdist_rpm is deprecated and will be removed in a future version.
Use bdist_wheel (wheel packages) instead.
z.https://github.com/pypa/setuptools/issues/1988)i� �
� )Zsee_urlZdue_dateZegg_info)r �emitZrun_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 �warningsr r r r r �<module> s