refine python packaging