make python portable