':type args: any'

def __init__(self, args, command):

    super(EnvironmentConfig, self).__init__(args)
    self.command = command
    self.local = (args.local is True)
    if ((args.tox is True) or (args.tox is False) or (args.tox is None)):
        self.tox = (args.tox is True)
        self.tox_args = 0
        self.python = (args.python if ('python' in args) else None)
    else:
        self.tox = True
        self.tox_args = 1
        self.python = args.tox
    self.docker = docker_qualify_image(args.docker)
    self.remote = args.remote
    self.docker_privileged = (args.docker_privileged if ('docker_privileged' in args) else False)
    self.docker_util = docker_qualify_image((args.docker_util if ('docker_util' in args) else ''))
    self.docker_pull = (args.docker_pull if ('docker_pull' in args) else False)
    self.tox_sitepackages = args.tox_sitepackages
    self.remote_stage = args.remote_stage
    self.remote_aws_region = args.remote_aws_region
    self.remote_terminate = args.remote_terminate
    self.requirements = args.requirements
    if (self.python == 'default'):
        self.python = '.'.join((str(i) for i in sys.version_info[:2]))
    self.python_version = (self.python or '.'.join((str(i) for i in sys.version_info[:2])))
    self.delegate = (self.tox or self.docker or self.remote)
    if self.delegate:
        self.requirements = True
