allow setting version etc from python