Automatic activation and deactivation for virtualenv.