Configure for using as a python package