python: Configure virtualenv support