Well actually you are right. I just thought about web2py as a big hub of applications, where each application shares the very same interpreter, which I do not like because of aforementioned reasons.
In django I'd simply create another instance to solve that problem and include a URL to it somewhere. As to web2py technically I could do the same, but it would require creating "second" hub of applications, which for me is a bit contrary to the idea of having one central point of management ( like an intranet or smth similar ). But, yeah I think I wanted too much, every framework works this way, however I think this feature ( of having separate interpreters for separate apps ) would be nice to have. W dniu poniedziałek, 25 sierpnia 2014 19:08:26 UTC+2 użytkownik Derek napisał: > > That's not possible for django or any other python webapp. where did you > get this idea? > > On Monday, August 25, 2014 1:12:12 AM UTC-7, Kuba Kozłowicz wrote: >> >> Yea, well with different instances you can do it, but I asked if that is >> possible for one instance, which contains multiple apps. >> >> So it's impossible. >> >> W dniu niedziela, 24 sierpnia 2014 12:13:57 UTC+2 użytkownik Michele >> Comitini napisał: >>> >>> I think you just need to make some python virtualenvs for each set of >>> modules and then run *different* instances of web2py. You can do that >>> easily and in many different ways. >>> >>> >>> 2014-08-22 12:21 GMT+02:00 Kuba Kozłowicz <kole...@gmail.com>: >>> >>>> I know I can put app-specific modules into application/<app>/modules. >>>> This is not what I meant. >>>> >>>> I mean I want a different python interpreter per each app - is that >>>> possible? >>>> Because one of them will have installed library in version X and the >>>> other one will have installed the same libary, but in version Y. >>>> >>>> Imagine I have one app running some processes using let's say Twisted >>>> 2.0. >>>> >>>> Then after a year Twisted 3.0 is published and I want to now to develop >>>> new apps using the newest version. >>>> >>>> If version 3.0 is not backwards compatibile then I will have to either >>>> rewrite old stuff to newest version, or keep using old version. >>>> >>>> This is the problem I want to solve. >>>> >>>> W dniu środa, 20 sierpnia 2014 20:15:06 UTC+2 użytkownik Massimo Di >>>> Pierro napisał: >>>> >>>>> Yes. you put them in application/<app>/modules/ and then each app will >>>>> import from there. >>>>> Some modules break when you do this. If it happens bring it up here >>>>> and we can tell you how to fox them. >>>>> >>>>> On Monday, 18 August 2014 03:45:34 UTC-5, Kuba Kozłowicz wrote: >>>>>> >>>>>> I would like to know if it is possible to install different set of >>>>>> modules for each application separately. >>>>>> >>>>>> I have a Web2py instance, which consists of serveral applications and >>>>>> the number of applications will grow. Some of those apps use library X >>>>>> in >>>>>> version Y. The apps, that will be deployed in the future will be using >>>>>> the >>>>>> very same library X but in newer version. My question is if it is >>>>>> possible >>>>>> to install the same module in different version for separate apps? >>>>>> >>>>>> Or is one forced to either use old version with all apps or update >>>>>> all of them if one wanted to upadate version of the library X? >>>>>> >>>>> -- >>>> Resources: >>>> - http://web2py.com >>>> - http://web2py.com/book (Documentation) >>>> - http://github.com/web2py/web2py (Source code) >>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "web2py-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to web2py+un...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.