pip freeze restructuring