importing modules from site-packages on GAE

47 views
Skip to first unread message

Jurgis Pralgauskis

unread,
Aug 28, 2010, 1:12:33 PM8/28/10
to web2py-users
Hello,

if I try to import module from
web2py/site-packages in GAE env ,
it can't find it

but if I copy it to web2py/ (root) , it is found ok.

mdipierro

unread,
Aug 29, 2010, 1:06:47 AM8/29/10
to web2py-users
very odd,

sys.path.append(os.path.dirname(__file__))
sys.path.append(os.path.join(os.path.dirname(__file__),'site-
packages'))


are in gaehandler.py

On Aug 28, 12:12 pm, Jurgis Pralgauskis <jurgis.pralgaus...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages