<div dir="ltr">If you use:<div><a href="https://github.com/nschloe/pygmsh">https://github.com/nschloe/pygmsh</a> </div><div><br></div><div>which is a MIT-licensed library, I would argue that your software could remain closed source. pygmsh provides a means to generates .geo scripts, which are then interpreted by Gmsh, so no dynamic linking is involved.</div><div><br></div><div>Of course, I would recommend talking to your legal department concerning your strategy. I would be most concerned about the implications of using the AGPL when Gmsh dynamically links against the TetGen library.</div><div><br></div><div>Regards,</div><div><br></div><div>Juan</div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2019 at 1:51 PM Jean-François Remacle <<a href="mailto:jean-francois.remacle@uclouvain.be">jean-francois.remacle@uclouvain.be</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">
<div style="overflow-wrap: break-word;">
<br>
<br>
<blockquote type="cite">Le 21 oct. 2019 à 22:11, Niloufar <<a href="mailto:faghihi.niloufar@gmail.com" target="_blank">faghihi.niloufar@gmail.com</a>> a écrit :<br>
<br>
Hi,<br>
<br>
I am a new user of Gmsh and I have a question regarding its licensing. I was wondering whether the Gmsh API is also under the GPL license meaning that I can not use the Gmsh API in a closed-source Python code. Is that right?<br>
<br>
</blockquote>
<div><br>
</div>
<div><b>Question : If a programming language interpreter has a license that is incompatible with the GPL, can I run GPL-covered programs on it?<br>
</b><br>
<b>Answer</b> : When the interpreter just interprets a language, the answer is yes. The interpreted program, to the interpreter, is just data; the GPL doesn't restrict what tools you process the program with.<br>
<br>
However, when the interpreter is extended to provide “bindings” to other facilities (often, but not necessarily, libraries), the interpreted program is effectively linked to the facilities it uses through these bindings. The JNI or Java Native Interface is
an example of such a facility; libraries that are accessed in this way are linked dynamically with the Java programs that call them.<br>
<br>
So if these facilities are released under a GPL-incompatible license, the situation is like linking in any other way with a GPL-incompatible library.</div>
<div><br>
</div>
<div>JF</div>
<br>
<blockquote type="cite">Thank you,<br>
Niloufar<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh&data=02%7C01%7C%7Cb101a29215ba47ac826908d756634794%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637072856733757404&sdata=r70BRWIL4zq6j2kflMfw37tpJZiuMsYWbLdOczPGYsw%3D&reserved=0" target="_blank">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh&data=02%7C01%7C%7Cb101a29215ba47ac826908d756634794%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637072856733757404&sdata=r70BRWIL4zq6j2kflMfw37tpJZiuMsYWbLdOczPGYsw%3D&reserved=0</a><br>
</blockquote>
<br>
<div>------------------------------------------------------------------<br>
Prof. Jean-Francois Remacle<br>
Universite catholique de Louvain (UCL)<br>
Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering<br>
Institute of Mechanics, Materials and Civil Engineering (iMMC)<br>
Center for Systems Engineering and Applied Mechanics (CESAME)<br>
Tel : +32-10-472352 -- Mobile : +32-473-909930 <br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
</div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div>