[Distutils] bdist_rpm fails due to bytecompiled modules

Konstantin Ryabitsev icon at fedoraproject.org
Wed Oct 25 23:15:32 CEST 2006


On 10/25/06, Christopher Blunck <chris at wxnet.org> wrote:
> how do you workaround the "installed (but unpackaged) file(s) found"
> error related to the .pyo/.pyc files?  i noticed it's a python bug as
> well as a redhat bug.

Not sure what you call a bug here. The creation of .pyc and .pyo files
is an important stage and shouldn't be omitted when building RPMs, nor
should the files be skipped (deleted and not included in %files). This
way stuff like SELinux permissions get set correctly when the RPM is
installed.

Cheers,
-- 
Konstantin Ryabitsev
Montréal, Québec


More information about the Distutils-SIG mailing list