a „oeã@s4ddlmmZddlmZGdd„dejƒZdS)éNé)ÚSetuptoolsDeprecationWarningc@s eZdZdZdd„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. cCs,tjddddd�| d¡tj |¡dS)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ÚemitZ run_commandÚorigrÚrun)Úself©r ú=C:\Program Files\Certbot\pkgs\setuptools\command\bdist_rpm.pyr sù z bdist_rpm.runcCstj |¡}dd„|Dƒ}|S)NcSs g|]}| dd¡ dd¡‘qS)zsetup.py install z5setup.py install --single-version-externally-managed z%setupz&%setup -n %{name}-%{unmangled_version})Úreplace)Ú.0Úliner r r Ú !süþýz-bdist_rpm._make_spec_file..)rrÚ_make_spec_file)r Úspecr r r rs  ûzbdist_rpm._make_spec_fileN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rr r r r rsr)Zdistutils.command.bdist_rpmZcommandrrÚwarningsrr r r r Ús