[Distutils] Add RPM-friendly Record Option
symbiont at berlios.de
Thu Sep 30 13:05:41 CEST 2004
On Thursday 30 September 2004 01:45, Phillip J. Eby wrote:
> At 11:25 AM 9/29/04 -0600, Sean Reifschneider wrote:
> >On Tue, Sep 28, 2004 at 12:44:34AM +0800, Jeff Pitman wrote:
> > >I'm new here. I submitted a patch for your kind review that spews
> > > out an RPM-consumable list including %dir and %lang attributes.
> > > The concept could be expanded further.
> >Any comments on this patch?
> Isn't distutils supposed to be compatible with older versions of
> Python, e.g. 1.5.2?
I used the list comprehension for two reasons:
1) already used in build_py.py
2) matches what i did in write_record_rpm() (code's cleaner)
> The list comprehension won't work, and it
> removes a minor optimization ('if self.root:').
I've updated the patch on sf.net to include this opt.
Thanks for taking a look!
More information about the Distutils-SIG