<div dir="ltr">Thanks a lot @quozl<div>I'll let you know when I'm ready to release it.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019 at 1:55 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">Once upon a time this made it difficult. It was discouraged. It<br>
looked very different. It behaved different. It cost extra resources<br>
on a tiny laptop to ensure each different graphics API was present in<br>
memory and on disk. So we decided on GTK only, because that's what<br>
Sugar home view uses.<br>
<br>
However, computers are larger, and a tkinter module is part of Python,<br>
so if you have working code using tkinter inside the sugar3 wrapper,<br>
with a toolbar and stop button that works, then I would accept it on<br>
the basis that;<br>
<br>
- people who want to use the activity in a school will make sure<br>
tkinter is also installed,<br>
<br>
- somebody may later port to GTK.<br>
<br>
Please mention tkinter as a dependency in the README.md file (see<br>
README.md in the Record activity as an example), and maybe add<br>
requirements.txt as used by PyPi if you have any additional modules<br>
needed.<br>
<br>
On Thu, Dec 19, 2019 at 01:35:58AM +0530, Naman Nimmo wrote:<br>
> Will do, thanks!<br>
> Just on a side note-- the activity uses tkinter package. Is that allowed? <br>
> <br>
> On Thu, Dec 19, 2019, 01:21 James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> wrote:<br>
> <br>
> No worries. Let us know what you decide to do.<br>
> <br>
> On Wed, Dec 18, 2019 at 09:28:53PM +0530, Naman Nimmo wrote:<br>
> > Thank you for the clarification :)<br>
> ><br>
> > On Wed, Dec 18, 2019, 00:23 James Cameron <[1][2]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> wrote:<br>
> ><br>
> > Whether it is safe for you depends on the terms and conditions of the<br>
> > agreement between you and the API vendor.<br>
> ><br>
> > For Sugar Labs to host and distribute your software, we require your<br>
> > source code to be covered by a license that would reveal the API key.<br>
> ><br>
> > It should be up to you how you resolve those two legal issues.<br>
> ><br>
> > If you need Sugar Labs to enter into an agreement with the API<br>
> vendor,<br>
> > contact the oversight board. We would still reveal the key though.<br>
> ><br>
> > We have two other activities that have an API key clearly identified<br>
> > in the source code. Random quote generator in TurtleBlocksJS,<br>
> > and currency conversion in Convert activity,<br>
> ><br>
> > On Tue, Dec 17, 2019 at 03:14:36PM +0530, Naman Nimmo wrote:<br>
> > > I'm writing a new activity and for that, I'm using an open weather<br>
> API<br>
> > but that<br>
> > > requires an API key which is personal. So is it safe to include my<br>
> key<br>
> > along<br>
> > > with the code? And if not, then how can I use that? <br>
> > ><br>
> > > Regards,<br>
> > > Naman<br>
> ><br>
> > > _______________________________________________<br>
> > > Sugar-devel mailing list<br>
> > > [2][3]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [3][4]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
> > --<br>
> > James Cameron<br>
> > [4][5]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > References:<br>
> ><br>
> > [1] mailto:[6]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [2] mailto:[7]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [3] [8]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [4] [9]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> <br>
> --<br>
> James Cameron<br>
> [10]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> <br>
> References:<br>
> <br>
> [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [2] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [3] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [4] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [5] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [6] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [7] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [8] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [9] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [10] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>