Re:[Distutils] [python2.2.2 + RedHat9] setup.py doesn't work correctly

Ricardo Niederberger Cabral ncabral at terra.com.br
Mon Sep 29 09:58:53 EDT 2003


[...]
> I have moved under RedHat9 ; and now, I obtain an assertion failure when I have
[...]
> File "/usr/lib/python2.2/distutils/command/bdist_rpm.py", line 314, in run
>    assert len(rpms) == 1, \
> AssertionError: unexpected number of RPM files found: ['build/bdist.linux-i686/rpm/RPMS/i386/DaVaW-1.2-1.i386.rpm',
> 'build/bdist.linux-i686/rpm/RPMS/i386/DaVaW-debuginfo-1.2-1.i386.rpm']

I had the same problem, so i made a patch to remove that warning so bdist_rpm moves all RPMs to the 'dist' dir properly. See the attachment at:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731328&group_id=5470

Best regards,
-- 
Ricardo Niederberger Cabral
<ncabral at terra dot com dot br>




More information about the Distutils-SIG mailing list