<div dir="ltr">Thanks James, This was the problem I was also facing while testing sugar live build, My changes were not reflecting, Hope that helps.<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 26, 2020 at 10:50 AM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, that's a problem I've seen before, and I reproduced it just now.<br>
<br>
Sugar Live Build includes /usr/src/sugar which is a clone of the Sugar<br>
repository, not a tarball. When autogen, make and make install are<br>
run, the files are placed in site-packages, not dist-packages.<br>
<br>
site-packages is logically correct, but Debian does not look at<br>
site-packages when it runs Sugar.<br>
<br>
During build, we have a special step after make install;<br>
<a href="https://github.com/sugarlabs/sugar-live-build/blob/master/src/config/hooks/normal/0900-sugar.hook.chroot#L42" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-live-build/blob/master/src/config/hooks/normal/0900-sugar.hook.chroot#L42</a><br>
<br>
So in addition to make install, you should also do;<br>
<br>
rm -rf /usr/lib/python3.7/dist-packages/jarabe/<br>
mv /usr/lib/python3.7/site-packages/jarabe /usr/lib/python3.7/dist-packages/<br>
<br>
I've no explanation for "make: nothing to be done for 'main.py", the<br>
message makes no sense to me. I don't see it when I test.<br>
<br>
On Tue, May 26, 2020 at 06:32:52AM +0200, <a href="mailto:sugar@radii.dev" target="_blank">sugar@radii.dev</a> wrote:<br>
> Based on [1]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/</a><br>
> development-environment.md#sugar-live-build I am making changes to:<br>
> /usr/src/sugar/src/jarabe/main.py<br>
> and than<br>
> # make install<br>
> But nothing changes. I get message in the end<br>
> "make: nothing to be done for 'main.py"<br>
> Any help?<br>
> <br>
> Regards,<br>
> Manish<br>
> <br>
> References:<br>
> <br>
> [1] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#sugar-live-build" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#sugar-live-build</a><br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>