[Distutils] Option question

M.-A. Lemburg mal@lemburg.com
Thu Feb 14 04:56:02 2002


Konrad Hinsen wrote:
> 
> "Thomas Heller" <thomas.heller@ion-tof.com> writes:
> 
> > According to the source no_rpm_opt_flags is a negative option - inverting the value
> > of use_rpm_opt_flags. You should probably try to add the line
> >   use_rpm_opt_flags = 0
> > in the setup.cfg file (but this is simply guesswork).
> 
> Good start, this is accepted - but has no effect, unfortunately.

I suggest you take the debugger and skip to the end of 
finalize_options() in bdist_rpm.py. I don't see any magic in
that routine which would reset .use_rpm_opt_flags, so the
magic has to be built into some other part of distutils ;-)

What Thomas suggest *should* work. If it doesn't, then
something is wrong and we have a bug.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/