[Distutils] [python2.2.2 + RedHat9] setup.py doesn't work
correctly
amk at amk.ca
amk at amk.ca
Mon Sep 29 10:39:14 EDT 2003
On Mon, Sep 29, 2003 at 11:40:36AM +0200, Benoit Regrain wrote:
> 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']
Interesting. It looks like RPM now builds two RPMs, one with debugging
information and one without it.
Is the resulting DaVaW-debuginfo-1.2-1.i386.rpm RPM file actually correct?
That is, does it contain debugging versions of all .so files, plus
whatever .py/data files are to be installed?
If the debugging RPM is correct, then the assertion should be removed and
both RPM files should be copied to dist/.
If the debugging RPM is wrong, then its generation should be suppressed.
I think this would be done by including '%debug_package %{nil}'
in the .spec file that bdist_rpm generates.
--amk
More information about the Distutils-SIG
mailing list