Simplify build & code for comparison.
Add python variant.