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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Will answer myself just in case anyone has same problem - Just use any
unzip program to unzip the egg into modules.