[Distutils] bdist_rpm new option

Gerry Reno greno at verizon.net
Mon Feb 23 14:23:24 CET 2009


Tarek Ziadé wrote:
> Hello
>
> We have worked on a fix for bdist_rpm, to avoid the error that occurs
> under Fedora or RedHat when the optimize flag is not
> activated.
>
> http://bugs.python.org/issue1533164
>
> I am about to introduce a new option for this command, called
> "force-optimize" (and activated by default)
>
>   
Hopefully this will eliminate the current need to create separate 
install-scripts with lines like this which we are having to do right now:
python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT 
--record=INSTALLED_FILES

Regards,
Gerry



More information about the Distutils-SIG mailing list