move to unified swig/python support