Mavericks firewall does not keep my choices
It sounds like the problem is that virtualenv modifies the python binary when it copies it into the environment, invalidating the signature.

Try to follow this and see if it resolves your issue: http://blog.movieos.org/post/63545845092/stop-my-os-x-firewall-complaining-about-a-virtualenv