fixed building python module, updated docs