1 Index: twill-0.9/setup.py
2 ===================================================================
3 --- twill-0.9.orig/setup.py 2007-12-28 06:45:16.000000000 +0000
4 +++ twill-0.9/setup.py 2009-01-19 01:00:23.000000000 +0000
6 author_email = 'titus@idyll.org',
9 - packages = ['twill', 'twill.other_packages',
10 - 'twill.other_packages._mechanize_dist',
11 + packages = ['twill',
13 'twill.extensions.match_parse'],
15 Index: twill-0.9/twill/_browser.py
16 ===================================================================
17 --- twill-0.9.orig/twill/_browser.py 2007-12-28 06:45:16.000000000 +0000
18 +++ twill-0.9/twill/_browser.py 2009-01-19 01:01:30.000000000 +0000
23 -from _mechanize_dist import Browser as MechanizeBrowser
24 +from mechanize import Browser as MechanizeBrowser
27 from utils import FixedHTTPBasicAuthHandler, FunctioningHTTPRefreshProcessor
29 def build_http_handler():
30 - from _mechanize_dist._urllib2 import HTTPHandler
31 + from mechanize._urllib2 import HTTPHandler
33 class MyHTTPHandler(HTTPHandler):
34 def http_open(self, req):
35 Index: twill-0.9/twill/browser.py
36 ===================================================================
37 --- twill-0.9.orig/twill/browser.py 2007-12-28 06:45:16.000000000 +0000
38 +++ twill-0.9/twill/browser.py 2009-01-19 01:00:23.000000000 +0000
43 -import _mechanize_dist as mechanize
44 -from _mechanize_dist import BrowserStateError, LinkNotFoundError, ClientForm
47 +from mechanize import BrowserStateError, LinkNotFoundError
49 # twill package imports
50 from _browser import PatchedMechanizeBrowser
51 Index: twill-0.9/twill/commands.py
52 ===================================================================
53 --- twill-0.9.orig/twill/commands.py 2007-12-28 06:45:16.000000000 +0000
54 +++ twill-0.9/twill/commands.py 2009-01-19 01:00:23.000000000 +0000
59 -import _mechanize_dist as mechanize
60 -from _mechanize_dist import ClientForm
61 -from _mechanize_dist._headersutil import is_html
64 +from mechanize._headersutil import is_html
68 Index: twill-0.9/twill/utils.py
69 ===================================================================
70 --- twill-0.9.orig/twill/utils.py 2007-12-28 06:45:16.000000000 +0000
71 +++ twill-0.9/twill/utils.py 2009-01-19 01:00:23.000000000 +0000
76 -import _mechanize_dist as mechanize
77 -from _mechanize_dist import ClientForm
78 -from _mechanize_dist._util import time
79 -from _mechanize_dist._http import HTTPRefreshProcessor
80 -from _mechanize_dist import BrowserStateError
83 +from mechanize._util import time
84 +from mechanize._http import HTTPRefreshProcessor
85 +from mechanize import BrowserStateError