4 ms·
As long as a venv exists and is activated, your Makefile can simply “pip install -r ./requirements.txt” and pip should make sure that all constraints in the req
by plonk 4y ago
As long as a venv exists and is activated, your Makefile can simply “pip install -r ./requirements.txt” and pip should make sure that all constraints in the requirements are met.
Make sure that the package management tools are up-to-date first with “python -m pip install—upgrade pip setuptools wheel”.
Pip is very fast now and shouldn’t take more than a second if all dependencies are already installed. The only part that’s too slow is installing a package from source.