tweak WSGI for numpy