[web2py] Re: how to import a python library (not single file) from modules

2010-04-23 Thread Matt S
This still does not work for me running the dev GAE. Do we have to do: from site-packages import moduleX The hyphen throws a syntax error. I'd like to put them in site- packages but I'm stumped. On Mar 24, 8:24 am, mdipierro mdipie...@cs.depaul.edu wrote: You have to add the folder to

[web2py] Re: how to import a python library (not single file) from modules

2010-04-23 Thread mdipierro
May be due to this issue http://groups.google.com/group/web2py/browse_thread/thread/d0e99326fe1d4fe3 since same issue is on gaehandler On Apr 23, 2:30 pm, Matt S arfan...@gmail.com wrote: This still does not work for me running the dev GAE.  Do we have to do: from site-packages import

[web2py] Re: how to import a python library (not single file) from modules

2010-03-24 Thread Jon Romero
This doesn't seem to work when you are running on AppEngine! It works perfectly outside but when I am running it using dev_appserver, it doesn't work. Is this a bug? On Mar 18, 4:54 pm, mdipierro mdipie...@cs.depaul.edu wrote: You should put them in web2py/site-packages On Mar 18, 9:35 am,

[web2py] Re: how to import a python library (not single file) from modules

2010-03-24 Thread mdipierro
You have to add the folder to sys.path in gaehandler.py It may be considered a bug so I fixed it. On Mar 24, 6:32 am, Jon Romero darks...@gmail.com wrote: This doesn't seem to work when you are running on AppEngine! It works perfectly outside but when I am running it using dev_appserver, it

[web2py] Re: how to import a python library (not single file) from modules

2010-03-18 Thread PanosJee
Never mind i just put the folder in /web2py and smiled But i am not sure if it s good way to do it On Mar 18, 4:11 pm, PanosJee panos...@gmail.com wrote: Hey guys there were some posts regarding this issue but i could not figure out what to do I want to use some python libraries but i cannot

[web2py] Re: how to import a python library (not single file) from modules

2010-03-18 Thread mdipierro
You should put them in web2py/site-packages On Mar 18, 9:35 am, PanosJee panos...@gmail.com wrote: Never mind i just put the folder in /web2py and smiled But i am not sure if it s good way to do it On Mar 18, 4:11 pm, PanosJee panos...@gmail.com wrote: Hey guys there were some posts