1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-21 15:52:28 +00:00

changed pip call to avoid logger config code in pip - this may not be resillient to change in pip, but works for 9.0.1 and the master branch of pip"

This commit is contained in:
Ian Wood 2017-04-01 18:08:06 +01:00
parent cc298742ec
commit 581b3a038e

View File

@ -338,7 +338,11 @@ class Senpy(object):
for req in requirements:
pip_args.append(req)
logger.info('Installing requirements: ' + str(requirements))
pip.main(pip_args)
cmd_name, cmd_args = pip.parseopts(pip_args)
command = pip.commands_dict[cmd_name](isolated=pip.check_isolated(cmd_args))
options, args = command.parse_args(cmd_args)
command.run(options, args)
@classmethod
def _load_module(cls, name, root):