Bug 39223 - webkitpy should autoinstall modules only as they are needed
Summary: webkitpy should autoinstall modules only as they are needed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 09:43 PDT by Chris Jerdonek
Modified: 2010-05-17 09:43 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jerdonek 2010-05-17 09:43:05 PDT
webkitpy should not necessarily autoinstall every module needed by every script.  It should autoinstall only modules as they are needed.

This is the corresponding FIXME in the code:

http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/thirdparty/__init__.py?rev=59350#L39

Fixing this probably means adding a custom import hook like the old autoinstall module.  That should let us globally detect whenever an autoinstallable module is being imported from.