[Starlingx-discuss] huge number of duplicated .pyo and .pyc files in packages

Dominig ar Foll (Intel Open Source) dominig.arfoll at fridu.net
Tue Sep 17 14:11:39 UTC 2019


Albert,

no I cheated I used fdupes to go around the package.
But concerning the extend of the issue a real correction would be a good
idea.

Regards
Dominig

On 17/09/2019 15:23, Bailey, Henry Albert (Al) wrote:
> I didn’t see if anyone already replied to your email
>
> Did you already try  updating your Makefile or spec files with PYTHONDONTWRITEBYTECODE
>
> https://docs.python.org/2/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
>
> That env setting exists in python2 and python3.
> Al
>
> -----Original Message-----
> From: Dominig ar Foll (Intel Open Source) [mailto:dominig.arfoll at fridu.net] 
> Sent: Monday, September 16, 2019 1:16 PM
> To: starlingx-discuss at lists.starlingx.io
> Subject: [Starlingx-discuss] huge number of duplicated .pyo and .pyc files in packages
>
> Hello,
>
> I have just reworked the package "starlingx-dashboard" to read source
> from git.
> At build time, I have 189 warning which leads to an error (badness >100)
> which is well deserved.
>
> Obviously I can hide the error with an %fdupes macro but I do not like it.
>
> Do we need all those duplication in the installed packages ?
> Could it be made a bit cleaner by the package owner ?
>
> Thanks.
>

-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre




More information about the Starlingx-discuss mailing list