optimize import, hoping that it will pass py2app