'Edit setup.py to install repo locally

I am trying to edit setup.py of a series of Python packages to install them locally. I cannot use the internet at all since I need to use them in a Kaggle notebook without internet access. I have never done it before and I am struggling to do it. Would you please clarify what's the easiest way to do it? An example with any repo of your choice installable via pip would work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source