moves version to pyt and then has setup read it from pyt, compiles the regexes in the loop so they aren't compiled every iteration. Fixes an output problem where it would output the repr of the Test instance instead of the test name