[python] Added virtualenv configuration