Just like you would normally run a long-running process in web2py, os.spawn is my favorite (python offers numerous methods).

But...do we really want a framework that installs software on demand (without prompting an admin)?  I say, let's just leave it to the humans.  It's one thing to make someone's life easier, it's another to allow them to get away from a process that they should know about and control (like messing with IP tables programmatically).

Further driving the point, easy_install installs the latest version of a package.  When I did this, it broke form-encode for me.

-tim

mdipierro wrote:
is it possible to call easy_install programmatically? Can anybody
point me to an example?

Massimo

On Dec 23, 4:21 pm, Timothy Farrell <tfarr...@swgen.com> wrote:
  
easy_install reportlab
dang, that's easy!
;-)
mr.freeze wrote:It would be nice to have a feature system that allows either manual uploading (similar to the application upload) or on-demand downloading of components like ReportLab so that each person could customize their installation as they see fit. Just daydreaming out loud. It would probably be difficult to implement and maintain. Components like these are very useful but probably shouldn't be included in the framework by default in my opinion. Nathan On Dec 23, 12:41 pm,mdipierro<mdipie...@cs.depaul.edu>wrote:Should we include reportlab in web2py? pros: web2py lacks printing capability and pdf output may be a solution the license allows it cons: it doubles the size of web2py there are alternative such as the openoffice APIs it requires creating a site-package folder and add it the path Comments? Massimo-- Timothy Farrell<tfarr...@swgen.com>Computer Guy Statewide General Insurance Agency (www.swgen.com)
    

  

-- 
Timothy Farrell <tfarr...@swgen.com>
Computer Guy
Statewide General Insurance Agency (www.swgen.com)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to