web2py is GPL2. The OFFICIAL web2py pre-compiled binaries are freeware. You cannot make your own binaries out of web2py.
This means if you build a web2py applications (something that goes in a folder under applications) you CAN distribute them under any license you want and BINDLE it with the official web2py binary (you have to say it in the license you are doing so). But, you CAN NOT build your own close source app using web2py modules. That is a violation of the GPL license. Since I am the copyright holder I can override this for specific cases but you need a license. Email me privately if this is what you need to do. Massimo On Nov 13, 9:14 am, ShoqulKutlu <[email protected]> wrote: > Hi Massimo, > > Do you mean when we use a part of web2py then our application will use > GPL license. If it is a commercial product then how do we consider > closing source although it is using GPL license? > > Regards, > Kutlu > > On Nov 13, 4:49 pm, mdipierro <[email protected]> wrote: > > > Sorry no. In my view BSD protects developers (they have to be > > mentioned in derivative products, product gets used more, more > > developers can use it) while GPL protects users (developers cannot > > stop open source development and create a closed source commercial > > derivative). web2py is about protecting users. Linux is a successful > > OS because it is GPL. > > > On Nov 13, 7:59 am, Douglas Soares de Andrade <[email protected]> > > wrote: > > > > Em Thu, 12 Nov 2009 22:45:34 -0800 (PST) > > > mdipierro <[email protected]> escreveu: > > > > > yes. need latest web2py stable > > > > > from gluon.template import render > > > > print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context= > > > > {'a':'hello\n'}) > > > > > if you want to use the helpers you also need to import them > > > > > from gluon.template import render > > > > from gluon.html import * > > > > print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context= > > > > {'a':DIV('hello')}) > > > > > You can use context='..' or stream=open(...) or filename='...', you > > > > can also pass a path=... required for lookup in case the tamplate > > > > content contains {{include...}} {{extend...}} > > > > > If you do this your code will be bound to be GPL2 because web2py > > > > source is GPL2. > > > > Hi Massimo, > > > > Dont you think it could be an issue ? What about if you have someone > > > that likes web2py template but needs to create commercial apps ? > > > > Cant we use bsd license or even better, LGPL ? > > > > Im asking this, because PySide (LGPL bindings to Qt4) were created > > > (among other things) because of PyQt licensing.- Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

