[Distutils] [SOLVED] Confounded by unhelpful error message.

Robert Park rbpark at exolucere.ca
Sat May 12 22:31:24 CEST 2012


On Sat, May 12, 2012 at 2:48 AM, Robert Park <rbpark at exolucere.ca> wrote:
>> Yep, lying about the file that’s missing is definitely not good.  I’ll
>> investigate distutils.spawn to see if I can fix that.
>
> Cool, thanks.

I noticed on line 327 of bdist_rpm.py that there's actually a check
for whether it should be using 'rpm' or 'rpmbuild' commands. I wonder
if that test could be expanded to test for the case of rpmbuild not
existing but rpm command not having rpmbuild capabilities, and then
printing a more useful error message.

-- 
http://exolucere.ca


More information about the Distutils-SIG mailing list