mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-25 01:22: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:
parent
cc298742ec
commit
581b3a038e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user