a copy from https://bootstrap.pypa.io/get-pip.py