Reworked v1 publish logic into site-packages