<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Hello,<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
I have listed the python modules and packages that I don't want. Someone recommended to list them with BAD_RECOMMENDATION. Can someone help me where this variable should go?<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thank you.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<span id="x_OutlookSignature">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
</span><br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Josef Holzmayr <holzmayr@rsi-elektrotechnik.de><br>
<b>Sent:</b> Sunday, October 20, 2019 4:29:00 PM<br>
<b>To:</b> Abhi Arora <abhiarora4@live.com><br>
<b>Cc:</b> Yann Dirson <yann.dirson@blade-group.com>; richard.purdie@linuxfoundation.org <richard.purdie@linuxfoundation.org>; yocto@yoctoproject.org <yocto@yoctoproject.org><br>
<b>Subject:</b> Re: [yocto] Reducing the size of the image by optimizing python</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Sat, Oct 19, 2019 at 04:32:26PM +0000, Abhi Arora wrote:<br>
> I am planning to install it in my host machine and see if I am able to run my scripts and manually add or remove modules and python packages to get minimal required system for my scripts.<br>
> <br>
> For that I need to access python3-misc and what it installs.<br>
<br>
Its not something that directly corresponds to a standard desktop<br>
distribution. Rather, its "everything that would otherwise be left<br>
behind", see:<br>
<br>
<a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3_3.7.4.bb#n323">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3_3.7.4.bb#n323</a><br>
<br>
So its just like the advice was already: remove it, see what breaks, and<br>
then add smaller bits and pieces again until everything works as<br>
desired.<br>
<br>
Greetz<br>
> <br>
> <br>
> <br>
> Get Outlook for Android<<a href="https://aka.ms/ghei36">https://aka.ms/ghei36</a>><br>
> <br>
> ________________________________<br>
> From: Yann Dirson <yann.dirson@blade-group.com><br>
> Sent: Saturday, October 19, 2019 8:51:52 PM<br>
> To: richard.purdie@linuxfoundation.org <richard.purdie@linuxfoundation.org><br>
> Cc: Abhi Arora <abhiarora4@live.com>; Khem Raj <raj.khem@gmail.com>; yocto@yoctoproject.org <yocto@yoctoproject.org><br>
> Subject: Re: [yocto] Reducing the size of the image by optimizing python<br>
> <br>
> You can also look at the package dependency graph (see the file<br>
> generated by bitbake -g) to get a better idea of what pulls what.<br>
> <br>
> 2019-10-19 17:10 UTC+02:00, richard.purdie@linuxfoundation.org<br>
> <richard.purdie@linuxfoundation.org>:<br>
> > On Sat, 2019-10-19 at 14:55 +0000, Abhi Arora wrote:<br>
> >> Thanks your for the suggestion.<br>
> >><br>
> >> From where I can find out what modules and packages python3-misc<br>
> >> downloads and installs? I am new to yocto and Don't know where to<br>
> >> look for. I tried grep but didn't help me.<br>
> ><br>
> > python3-misc is a package. You can look at its dependencies to see what<br>
> > it adds to the image.<br>
> ><br>
> >> And how about optimization using pyc file? Is it doable?<br>
> ><br>
> > Start simple. If you have python3-misc installed its using a lot of<br>
> > space and is the sensible place to start with trimming things down.<br>
> ><br>
> > Optimising to just pyc files is an optimisation further than most<br>
> > people find they need and will be much harder to do.<br>
> ><br>
> > Cheers,<br>
> ><br>
> > Richard<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > _______________________________________________<br>
> > yocto mailing list<br>
> > yocto@yoctoproject.org<br>
> > <a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
> ><br>
> <br>
> <br>
> --<br>
> Yann Dirson <yann@blade-group.com><br>
> Blade / Shadow -- <a href="http://shadow.tech">http://shadow.tech</a><br>
<br>
> -- <br>
> _______________________________________________<br>
> yocto mailing list<br>
> yocto@yoctoproject.org<br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br>
<br>
-- <br>
———————————————<br>
Josef Holzmayr<br>
Software Developer Embedded Systems<br>
<br>
Tel: +49 8444 9204-48<br>
Fax: +49 8444 9204-50<br>
<br>
R-S-I Elektrotechnik GmbH & Co. KG<br>
Woelkestrasse 11<br>
D-85301 Schweitenkirchen<br>
<a href="http://www.rsi-elektrotechnik.de">www.rsi-elektrotechnik.de</a><br>
———————————————<br>
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393<br>
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg<br>
Ust-IdNr: DE 128592548 <br>
<br>
_____________________________________________________________<br>
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363<br>
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg<br>
USt-IdNr.: DE 128592548<br>
<br>
</div>
</span></font>
</body>
</html>