I understand that it is possible to install packages from git and pip using the command below.
pip install git+git://github.com/author/package.git@master
So basically what this new command should do is that,
It should install all the packages necessary in my local just by using names or more precisely without me uploading the full package to git, only their names.
So Basically, I am trying to replicate this command with git.
pip install -r requirements.txt
Is this even possible? Has anyone done it?
Examples: Requirements.txt contain :
pandas==1.0.4
matplotlib==3.2.1
numpy=1.18.5
So something in the git with setup.py along the lines of it to install that package, if possible.
import pip
with open('requirements.txt','r') as fh:
for line in fh.readlines():
pip install line