Re: Some Python Packaging Questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Aug 2004 10:17:48 +0800, Jeff Pitman wrote:

> Oh, and one other quick question.  
> 
> Why not use --record instead of worrying about python_sitelib and 
> python_sitearch?
> 
> %install
> %{__python} setup.py install --root=$RPM_BUILD_ROOT 
> --record=INSTALLED_FILES
> 
> %files -f INSTALLED_FILES
> %defattr(-,root,root)
> %doc README INSTALL etc. etc.

That doesn't include directories (IIRC) and would need extra effort
when you want to %ghost *.pyo files.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux