Cpyext cleanup

Merged Ronan Lamy requested to merge branch/cpyext-cleanup into branch/default

Refactor cpyext initialisation.

Merge request reports