mirror of
https://github.com/gsi-upm/senpy
synced 2025-10-22 19:28:23 +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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user