I run pip
pip install -r /requirements.txt
If one of my packages fails the whole things aborts and no other packages would get installed.
Is there a command that in the event of an error it will continue to install the next package?
So for my usecase: here is what I do using a fab file:
def _install_requirements():
"""
Installs the required packages from the requirements.txt file using pip.
"""
if not exists(config.SERVER_PROJECT_PATH + '/requirements.txt', use_sudo=True):
print('Could not find requirements')
return
sudo('pip install -r %s/requirements.txt' % SERVER_PROJECT_PATH)