End of the day so I might be wrong, but because there is no standard way for servers to hand off their socket object in an upgrade situation, you can't have a general wsgi middleware for handling websocket. That said, the WebSocket-For-Python project has a wsgi middleware solution for gevent based on a simple ad-hoc "extension" protocol I made that will put the socket object into the wsgi environment if there is an upgrade header. This requires me to implement a special pywsgi server as well ... but the point is that if you could hack uwsgi to use the same protocol, then you could use the same middleware in both.
Unfortunately, gevent-websocket and friends didn't seem to be too into this idea. I wanted to see if we could get this hack into pywsgi server proper so we can have multiple websocket projects as middleware that use the same protocol.
So, short answer is: you can't, but you can try and use WebSocket-For-Python and hack uwsgi to support generic upgrade handling the same way I did with pywsgi ... then you'd at least be able to use a library and not make your own websocket handler specific to uwsgi. This scenario is exactly why I implemented the gevent server support in ws4py the way I did.
-jeff