I want to run a pip install -r requirements.txt
command;
I want to run the same command over and over again;
The issue is that requirements.txt
will include some wheel files which may have the same version but different source code;
I want to make sure the package will be reinstalled, i.e. fetched again from my custom pip repo;
I am aware of this topic, but the distinction between --ignore-installed
and --force-reinstall
does not seem very clear to me;
I have e.g. somepack==1.1
, I change the source code and I want the .whl
to be fetched again from my repo when performing pip install
;
Which one should I use? Should I incorporate both?
What is their difference?
The package may have the same version, e.g. somepack==1.1
or it may have incremental versions at some point. e.g. somepack==1.2
I want it to be always (re)installed;
edit: This is the help
of pip which does not seem very clear to me at least in the above issue
--force-reinstall Reinstall all packages even if they are already up-to-date.
-I, --ignore-installed Ignore the installed packages (reinstalling instead).