add python-related settings