get version from pyx.version and remove config for unused output formats