working as an extension, now for setuptools and the rest of the interface