def _get_conan_env_vars(self, version_info):
    envs = {'CONAN_USER_HOME': constants.CONAN_USER_HOME, 'CCACHE_DIR': '/tmp/ccache', 'CONAN_NON_INTERACTIVE': '1'}
    if ('CONAN_LOGIN_USERNAME' in os.environ):
        envs['CONAN_LOGIN_USERNAME'] = os.environ['CONAN_PASSWORD']
    if ('ARTIFACTORY_USER' in os.environ):
        envs['CONAN_LOGIN_USERNAME'] = os.environ['ARTIFACTORY_USER']
    if ('CONAN_PASSWORD' in os.environ):
        envs['CONAN_PASSWORD'] = os.environ['CONAN_PASSWORD']
    if ('ARTIFACTORY_TOKEN' in os.environ):
        envs['CONAN_PASSWORD'] = os.environ['ARTIFACTORY_TOKEN']
    for (name, value) in version_info.all_package_versions.items():
        envs[name] = value
    return envs
def _get_conan_env_vars(self, version_info):
    envs = {'CONAN_USER_HOME': constants.CONAN_USER_HOME, 'CCACHE_DIR': '/tmp/ccache', 'CONAN_NON_INTERACTIVE': '1'}
    if ('CONAN_LOGIN_USERNAME' in os.environ):
        envs['CONAN_LOGIN_USERNAME'] = os.environ['CONAN_PASSWORD']
    if ('ARTIFACTORY_USER' in os.environ):
        envs['CONAN_LOGIN_USERNAME'] = os.environ['ARTIFACTORY_USER']
    if ('CONAN_PASSWORD' in os.environ):
        envs['CONAN_PASSWORD'] = os.environ['CONAN_PASSWORD']
    if ('ARTIFACTORY_TOKEN' in os.environ):
        envs['CONAN_PASSWORD'] = os.environ['ARTIFACTORY_TOKEN']
    for (name, value) in version_info.all_package_versions.items():
        envs[name] = value
    return envs