use a py script to bundle packages