easy_install obscurely substitutes the builtin file type with a bound method.
setup.py imports version.py which imports util.py which fails subclassing file
because of that
the easiest fix without touching easy_install itself is to move the import of
util in version.py inside the function using it, an alternative would be to make
version not depend on util anymore by redefining nulldev there. |