diff options
Diffstat (limited to 'WebKitTools/Scripts/webkitpy/__init__.py')
-rw-r--r-- | WebKitTools/Scripts/webkitpy/__init__.py | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/WebKitTools/Scripts/webkitpy/__init__.py b/WebKitTools/Scripts/webkitpy/__init__.py index 94ecc70..b376bf2 100644 --- a/WebKitTools/Scripts/webkitpy/__init__.py +++ b/WebKitTools/Scripts/webkitpy/__init__.py @@ -1,8 +1,13 @@ # Required for Python to search this directory for module files -import autoinstall - -# List our third-party library dependencies here and where they can be -# downloaded. -autoinstall.bind("ClientForm", "http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.zip", "ClientForm-0.2.10") -autoinstall.bind("mechanize", "http://pypi.python.org/packages/source/m/mechanize/mechanize-0.1.11.zip", "mechanize-0.1.11") +# Keep this file free of any code or import statements that could +# cause either an error to occur or a log message to be logged. +# This ensures that calling code can import initialization code from +# webkitpy before any errors or log messages due to code in this file. +# Initialization code can include things like version-checking code and +# logging configuration code. +# +# We do not execute any version-checking code or logging configuration +# code in this file so that callers can opt-in as they want. This also +# allows different callers to choose different initialization code, +# as necessary. |