Closed kencasimiro closed 1 year ago
I noticed that the git-pip.py file is very long at 32321 lines. I found another way to install pip with ./python.exe -m ensurepip --upgrade
, maybe we can consider recommending users run this command instead so we can avoid unnecessary additions to the codebase?
I think its best to include both as in the GitPython official document also suggest to use a setup.py script installation for pip. We'll add both to make sure the user can try different ways to install pip to install GitPython.
Yes, I agree with Michael. I also had success with his method.
Added the Python file for installing pip to the respective python version for our project.
How to Install GitPython for the project:
Use the provided
get-pip.py
file in the same directory as./python.exe
in the project directory. Run./python.exe get-pip.py
This will instal pip for our respective python version. Run./python.exe -m pip install GitPython
GitPython will be successfully installed and you can now do./python.exe -m idlelib
successfully.Additionally the user can do the following as well to install pip and then install GitPython:
./python.exe -m ensurepip --upgrade
./python.exe -m pip install GitPython