On 21 August 2016 at 08:24, Zbigniew Jędrzejewski-Szmek
<zbyszek(a)in.waw.pl> wrote:
On Sat, Aug 20, 2016 at 05:17:59PM +0200, Igor Gnatenko wrote:
> RPM build errors:
> Installed (but unpackaged) file(s) found:
> /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
>
>
> This is from build of Flask. Looks really weird.
>
> Also it has some weird file inside:
>
/usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
>
> Should we skip such things from RPM generator or we should remove that
> or what? Thoughts?
Looks like a in the build system or packaging script.
Any automatic tools (like the RPM generator) should probably just ignore those,
just like Python itself does.
This looks like RPM is flagging a potential bug in the Flask spec file
to me - Python 3.x cache files shouldn't be showing up in the Python
2.7 site-packages directory.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan(a)gmail.com | Brisbane, Australia