Re: packaging pyc files - again

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

 



On Mon, 9 Aug 2004, Warren Togami wrote:

> .pyc files should be included so that rpm -V is actually able to verify
> the integrity of those files.  I have no strong opinion about .pyo being
> included or %ghost'ed.  I personally have included them in packages that
> I have fixed.
>
> See up2date and mailman for examples of how to build the .pyc and .pyo
> files during package build.

I checked up2date and mailman.
In my case, byte-compilation is done on
$RPMBUILDROOT%{_datadir}/%{name} in the %install phase after the py
files are installed. Is it necessary, in this case, to remove the pyc
files and recompile them (from the rpm -V point of view). (maybe from
other point of view it would be useful...)

Zoltan



[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