extract lgp in a dedicated logilab-packaging project (closes #275789) [applied]