I don't know mac, but when using Windows binary (the web2py_win.zip), I can always put 3rd party libraries into web2py/applications/myapp/ modules, then access it, in a slightly different way:
import applications.myapp.modules.third_parti_lib On Apr23, 7:46am, mdipierro <mdipie...@cs.depaul.edu> wrote: > You cannot use the Mac binary (the app) with third party libraries > easily. > > If you want to use third party Python libraries you need to install > Python (2.5) and run the web2py source distribution. > > Any web host that provides Python 2.5 can run web2py. Some hosts do it > via mod_proxy, some via mod_wsgi, some via mod_fcgi, some via cgi. It > really depends on the specific one you pick. Some like webfaction post > instructions on what to do. > > Massimo > > On Apr 22, 1:15 pm, Michael <michael.no...@gmail.com> wrote: > > > excuse my illiteracy on this. > > > I've downloaded the client for the mac. and it run it through the > > web2py.app > > > also, how does one go about doing this in a production enviroment? i.e > > a webhost, or GAE. > > > On Apr 22, 2:00 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > If you are running web2py from source there is nothings special for > > > you to do. The steps below should just work. > > > > Massimo > > > > On Apr 22, 12:09 pm, Michael <michael.no...@gmail.com> wrote: > > > > > Hey guys, > > > > > I've been messing around with the twitter library for python from > > > > the command line. Is it possible to use this in web2py? It has a JSON > > > > library dependency. > > > > > Also, if i have it in web2py how do i 'install' it? from the command > > > > line, i know to just do; > > > > > python setup.py install > > > > > But how do i go about installing libraries into web2py so I can > > > > access them the same way: > > > > > import twitter > > > > > def tweet(): > > > > > client = twitter.Api(username='test', password='test') > > > > update = client.PostUpdate('hello from python!') > > > > > etc... > > > > > thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---