how to install python egg within a web2py application

82 views
Skip to first unread message

apple

unread,
Nov 17, 2011, 5:28:00 AM11/17/11
to web2py-users
I am using pisa to generate a pdf and it requires html5lib and
reportlab. This all works fine when installed within python27.

I want to move this to the web2py application to make it self
contained. I moved the pisa and reportlab directories into myapp/
modules and everything worked fine. However the html5lib is an "egg"
file even after I run setup it copies the egg file to lib/site-
packages and seems to run the programs from within this rather than
unpacking it. When I moved this to myapp/modules then web2py does not
find the package.

How do I install this within the web2py application?

apple

unread,
Nov 17, 2011, 8:20:09 AM11/17/11
to web2py-users
Will answer myself just in case anyone has same problem - Just use any
unzip program to unzip the egg into modules.
Reply all
Reply to author
Forward
0 new messages